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

Unified Diff: lib/runtime/dart/typed_data.js

Issue 1111863002: fix static members in _emitMemberName (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: catch more cases Created 5 years, 8 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 | « lib/runtime/dart/math.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/typed_data.js
diff --git a/lib/runtime/dart/typed_data.js b/lib/runtime/dart/typed_data.js
index c2e1d06d450dc9ded343fdad054cad9cd8e4e964..d5b730b261add0d65d582c2b11bf2432598885c8 100644
--- a/lib/runtime/dart/typed_data.js
+++ b/lib/runtime/dart/typed_data.js
@@ -3,14 +3,14 @@ var typed_data;
'use strict';
class ByteBuffer extends core.Object {}
class TypedData extends core.Object {}
- let _ = Symbol('_');
let _littleEndian = Symbol('_littleEndian');
+ let _ = Symbol('_');
class Endianness extends core.Object {
- [_](littleEndian) {
+ _(littleEndian) {
this[_littleEndian] = littleEndian;
}
}
- dart.defineNamedConstructor(Endianness, _);
+ dart.defineNamedConstructor(Endianness, '_');
Endianness.BIG_ENDIAN = dart.const(new Endianness[_](false));
Endianness.LITTLE_ENDIAN = dart.const(new Endianness[_](true));
dart.defineLazyProperties(Endianness, {
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698