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

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: 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
« no previous file with comments | « test/codegen/expect/methods/methods.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..49427d86539254bfb61cfeeef12d2055b7f0d0db 100644
--- a/test/codegen/expect/typed_data/typed_data.js
+++ b/test/codegen/expect/typed_data/typed_data.js
@@ -5,9 +5,10 @@ var typed_data;
}
class TypedData extends dart.Object {
}
+ let _littleEndian = Symbol('_littleEndian');
class Endianness extends dart.Object {
- Endianness$_(_littleEndian) {
- this._littleEndian = _littleEndian;
+ Endianness$_($_littleEndian) {
+ this[_littleEndian] = $_littleEndian;
}
}
dart.defineNamedConstructor(Endianness, '_');
« no previous file with comments | « test/codegen/expect/methods/methods.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698