Index: tool/input_sdk/private/operations.dart |
diff --git a/tool/input_sdk/private/operations.dart b/tool/input_sdk/private/operations.dart |
index dcac6ff47eb4f0dfd201a17b0b965e3332a74f37..56308aebf2b35f354f20db5d56f4b2fcdab4438a 100644 |
--- a/tool/input_sdk/private/operations.dart |
+++ b/tool/input_sdk/private/operations.dart |
@@ -74,9 +74,12 @@ checkApply(type, actuals) => JS('', '''(() => { |
return true; |
})()'''); |
+_dartSymbol(name) => JS('', ''' |
+ $const_($Symbol.new($name.toString())) |
+'''); |
throwNoSuchMethod(obj, name, pArgs, nArgs, extras) => JS('', '''(() => { |
- $throw_(new $NoSuchMethodError($obj, $name, $pArgs, $nArgs, $extras)); |
+ $throw_(new $NoSuchMethodError($obj, $_dartSymbol($name), $pArgs, $nArgs, $extras)); |
})()'''); |
throwNoSuchMethodFunc(obj, name, pArgs, opt_func) => JS('', '''(() => { |