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

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

Issue 1112403004: SDK fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Formatting fix 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
Index: lib/runtime/dart/_internal.js
diff --git a/lib/runtime/dart/_internal.js b/lib/runtime/dart/_internal.js
index 28c8148f5bd8eff012b3737e6a29dfe7c060ab59..bbac3d6660d0499cb2056975a5d8a0c060d95a22 100644
--- a/lib/runtime/dart/_internal.js
+++ b/lib/runtime/dart/_internal.js
@@ -1927,7 +1927,7 @@ var _internal;
this[_name] = Symbol.validatePublicSymbol(name);
}
['=='](other) {
- return dart.is(other, Symbol) && dart.equals(this[_name], dart.dload(other, _name));
+ return dart.is(other, Symbol) && this[_name] == other[_name];
}
get hashCode() {
let arbitraryPrime = 664597;

Powered by Google App Engine
This is Rietveld 408576698