Index: tools/dom/src/native_DOMImplementation.dart |
diff --git a/tools/dom/src/native_DOMImplementation.dart b/tools/dom/src/native_DOMImplementation.dart |
index b18a026a55a5d94a8150f55394acae42a4f2100c..ed1d8ad88680b2b98c0c2cb01b2627f82ebcee9d 100644 |
--- a/tools/dom/src/native_DOMImplementation.dart |
+++ b/tools/dom/src/native_DOMImplementation.dart |
@@ -266,6 +266,9 @@ class _Utils { |
// 'this' needs to be handled by calling Dart_EvaluateExpr with |
// 'this' as the target rather than by passing it as an argument. |
if (arg == 'this') return; |
+ // Avoid being broken by bogus :async_op local returned passed in when |
Alan Knight
2015/10/27 22:20:08
returned passed in?
|
+ // within an async method. |
+ if (arg.startsWith(':')) return; |
if (args.isNotEmpty) { |
sb.write(", "); |
} |