Index: lib/runtime/dart_sdk.js |
diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js |
index 3b3eca59f97fac53bfc7beec812900b340778421..90746dc00d87a934e6420319da9f38f1a702f235 100644 |
--- a/lib/runtime/dart_sdk.js |
+++ b/lib/runtime/dart_sdk.js |
@@ -239,6 +239,7 @@ dart_library.library('dart_sdk', null, /* Imports */[ |
}); |
}; |
dart.canonicalMember = function(obj, name) { |
+ if (typeof name === 'symbol') return name; |
if (obj != null && obj[dart._extensionType]) return dart.dartx[name]; |
if (name == 'constructor' || name == 'prototype') { |
name = '+' + name; |