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

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
« lib/src/codegen/js_codegen.dart ('K') | « 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 fe67945775c49eccf5eb5a3a4eba7702cfef7791..5d36e98007b23a5855f10164cc9b67a848599680 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(typed_data) {
'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, '_');
« lib/src/codegen/js_codegen.dart ('K') | « test/codegen/expect/methods/methods.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698