Index: pkg/compiler/lib/src/js_backend/namer.dart |
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart |
index 77e91f16b6861df9a3f90c01bcb0037edd75a178..f37dd3633199e4239355674ee30110864b633f0e 100644 |
--- a/pkg/compiler/lib/src/js_backend/namer.dart |
+++ b/pkg/compiler/lib/src/js_backend/namer.dart |
@@ -245,6 +245,9 @@ class Namer { |
// next-generation plugin, this results in starting a new Java process. |
"java", "Packages", "netscape", "sun", "JavaObject", "JavaClass", |
"JavaArray", "JavaMember", |
+ |
+ // ES6 collections. |
+ "Map", |
]; |
static const List<String> reservedGlobalObjectNames = const <String>[ |