Index: lib/runtime/dart/typed_data.js |
diff --git a/lib/runtime/dart/typed_data.js b/lib/runtime/dart/typed_data.js |
index 4233196b4961b5d8d2bc6e0e44b7cb3a03935ceb..cefece626e81c08dce49567a21bb40914cef5a50 100644 |
--- a/lib/runtime/dart/typed_data.js |
+++ b/lib/runtime/dart/typed_data.js |
@@ -7,7 +7,7 @@ var typed_data; |
let _littleEndian = Symbol('_littleEndian'); |
class Endianness extends core.Object { |
[_](littleEndian) { |
- this[_littleEndian] = littleEndian; |
+ dart.initField(Endianness, this, _littleEndian, littleEndian); |
} |
} |
dart.defineNamedConstructor(Endianness, _); |