Index: lib/runtime/dart/_runtime.js |
diff --git a/lib/runtime/dart/_runtime.js b/lib/runtime/dart/_runtime.js |
index b7f72f77f98c0b84486158e05c19f11f6eb434ec..e51575a38186654a03c4b0bd3344a4234c3c17f3 100644 |
--- a/lib/runtime/dart/_runtime.js |
+++ b/lib/runtime/dart/_runtime.js |
@@ -426,8 +426,11 @@ dart_library.library('dart/_runtime', null, /* Imports */[ |
} |
return true; |
} |
+ function _dartSymbol(name) { |
+ return const_(core.Symbol.new(name.toString())); |
+ } |
function throwNoSuchMethod(obj, name, pArgs, nArgs, extras) { |
- throw_(new core.NoSuchMethodError(obj, name, pArgs, nArgs, extras)); |
+ throw_(new core.NoSuchMethodError(obj, _dartSymbol(name), pArgs, nArgs, extras)); |
} |
function throwNoSuchMethodFunc(obj, name, pArgs, opt_func) { |
if (obj === void 0) obj = opt_func; |