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

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

Issue 1156993015: fixes #193, factory constructors as static methods (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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:
View side-by-side diff with in-line comments
Download patch
Index: lib/runtime/dart/_interceptors.js
diff --git a/lib/runtime/dart/_interceptors.js b/lib/runtime/dart/_interceptors.js
index 6864eac4f732feeff2acee401d76cdb530a962bf..110c204bb7d3a21981ca53be15451142e095907d 100644
--- a/lib/runtime/dart/_interceptors.js
+++ b/lib/runtime/dart/_interceptors.js
@@ -985,7 +985,7 @@ var _js_embedded_names = dart.import(_js_embedded_names);
function _symbolMapToStringMap(map) {
if (map == null)
return null;
- let result = new (core.Map$(core.String, core.Object))();
+ let result = core.Map$(core.String, core.Object).new();
map.forEach(dart.fn((key, value) => {
result.set(_symbolToString(key), value);
}, core.Object, [core.Symbol, core.Object]));

Powered by Google App Engine
This is Rietveld 408576698