Index: lib/runtime/dart/collection.js |
diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js |
index c24f062251c865225c9bda8cb7bd42319f5c0f76..b8549f75c8127651964e7eb8faf149f6af4ddd40 100644 |
--- a/lib/runtime/dart/collection.js |
+++ b/lib/runtime/dart/collection.js |
@@ -4371,7 +4371,7 @@ dart_library.library('dart/collection', null, /* Imports */[ |
return typeof key == 'string' && !dart.equals(key, '__proto__'); |
} |
static _isNumericKey(key) { |
- return dart.is(key, core.num) && (key & 0x3ffffff) === key; |
+ return typeof key == 'number' && (key & 0x3ffffff) === key; |
} |
[_computeHashCode](key) { |
return dart.hashCode(key) & 0x3ffffff; |
@@ -4858,7 +4858,7 @@ dart_library.library('dart/collection', null, /* Imports */[ |
return typeof key == 'string' && !dart.equals(key, '__proto__'); |
} |
static _isNumericKey(key) { |
- return dart.is(key, core.num) && (key & 0x3ffffff) === key; |
+ return typeof key == 'number' && (key & 0x3ffffff) === key; |
} |
[_computeHashCode](key) { |
return dart.hashCode(key) & 0x3ffffff; |
@@ -5303,7 +5303,7 @@ dart_library.library('dart/collection', null, /* Imports */[ |
return typeof element == 'string' && !dart.equals(element, '__proto__'); |
} |
static _isNumericElement(element) { |
- return dart.is(element, core.num) && (element & 0x3ffffff) === element; |
+ return typeof element == 'number' && (element & 0x3ffffff) === element; |
} |
[_computeHashCode](element) { |
return dart.hashCode(element) & 0x3ffffff; |
@@ -5739,7 +5739,7 @@ dart_library.library('dart/collection', null, /* Imports */[ |
return typeof element == 'string' && !dart.equals(element, '__proto__'); |
} |
static _isNumericElement(element) { |
- return dart.is(element, core.num) && (element & 0x3ffffff) === element; |
+ return typeof element == 'number' && (element & 0x3ffffff) === element; |
} |
[_computeHashCode](element) { |
return dart.hashCode(element) & 0x3ffffff; |