Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: test/codegen/expect/typed_data/typed_data.js

Issue 963343002: implement private members, fixes #74 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen/expect/typed_data/typed_data.js
diff --git a/test/codegen/expect/typed_data/typed_data.js b/test/codegen/expect/typed_data/typed_data.js
index 55b71930f70a50ef6b20fcd7a354eac4eaa8f48f..e401f2dbe0cf42c5d947e6a28c999f15d0356a01 100644
--- a/test/codegen/expect/typed_data/typed_data.js
+++ b/test/codegen/expect/typed_data/typed_data.js
@@ -1,13 +1,14 @@
var typed_data;
(function(exports) {
'use strict';
+ let _littleEndian = Symbol('_littleEndian');
class ByteBuffer extends dart.Object {
}
class TypedData extends dart.Object {
}
class Endianness extends dart.Object {
- Endianness$_(_littleEndian) {
- this._littleEndian = _littleEndian;
+ Endianness$_($_littleEndian) {
+ this[_littleEndian] = $_littleEndian;
}
}
dart.defineNamedConstructor(Endianness, '_');

Powered by Google App Engine
This is Rietveld 408576698