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

Unified Diff: lib/runtime/dart_sdk.js

Side-by-side diff isn't available for this file because of its large size.
Issue 1982953002: Minimal patch to collections to use correct LinkedHashMap for map literals. (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 years, 7 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:
Download patch
« no previous file with comments | « no previous file | lib/runtime/dart_sdk.sum » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart_sdk.js
diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js
index 5bd0307aed7422ca4ff038c618f7234c6288d456..e0f14b7390aa17a347d0820f79d1fb536db5a7f2 100644
--- a/lib/runtime/dart_sdk.js
+++ b/lib/runtime/dart_sdk.js
@@ -22026,7 +22026,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
if (isValidKey == null) {
if (hashCode == null) {
if (equals == null) {
- return new (collection._LinkedHashMap$(K, V))();
+ return _js_helper.JsLinkedHashMap$(K, V).es6();
}
hashCode = collection._defaultHashCode;
} else {
« no previous file with comments | « no previous file | lib/runtime/dart_sdk.sum » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698