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

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

Issue 1641643004: Roll analyzer to 0.27.2-alpha.1 (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rerun tests and format Created 4 years, 11 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/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/collection.js
diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js
index 5382f2b2951eb1b3e0c57633108f5c37d478d259..282b2c9f639cf3aab2bd40ed40a8c642c5c6a91d 100644
--- a/lib/runtime/dart/collection.js
+++ b/lib/runtime/dart/collection.js
@@ -4199,7 +4199,7 @@ dart_library.library('dart/collection', null, /* Imports */[
}
}
static _isStringKey(key) {
- return typeof key == 'string' && !dart.equals(key, '__proto__');
+ return typeof key == 'string' && key != '__proto__';
}
static _isNumericKey(key) {
return typeof key == 'number' && (key & 0x3ffffff) === key;
@@ -4662,7 +4662,7 @@ dart_library.library('dart/collection', null, /* Imports */[
this[_modified]();
}
static _isStringKey(key) {
- return typeof key == 'string' && !dart.equals(key, '__proto__');
+ return typeof key == 'string' && key != '__proto__';
}
static _isNumericKey(key) {
return typeof key == 'number' && (key & 0x3ffffff) === key;
@@ -5087,7 +5087,7 @@ dart_library.library('dart/collection', null, /* Imports */[
}
}
static _isStringElement(element) {
- return typeof element == 'string' && !dart.equals(element, '__proto__');
+ return typeof element == 'string' && element != '__proto__';
}
static _isNumericElement(element) {
return typeof element == 'number' && (element & 0x3ffffff) === element;
@@ -5497,7 +5497,7 @@ dart_library.library('dart/collection', null, /* Imports */[
this[_modified]();
}
static _isStringElement(element) {
- return typeof element == 'string' && !dart.equals(element, '__proto__');
+ return typeof element == 'string' && element != '__proto__';
}
static _isNumericElement(element) {
return typeof element == 'number' && (element & 0x3ffffff) === element;
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698