Index: pkg/compiler/lib/src/js/rewrite_async.dart |
diff --git a/pkg/compiler/lib/src/js/rewrite_async.dart b/pkg/compiler/lib/src/js/rewrite_async.dart |
index eb0b535a854f7de49c96ca07ead31459907881ad..5d37861e389279e3c085df6ef1bc93dd2991dd0f 100644 |
--- a/pkg/compiler/lib/src/js/rewrite_async.dart |
+++ b/pkg/compiler/lib/src/js/rewrite_async.dart |
@@ -1712,8 +1712,7 @@ class AsyncRewriter extends AsyncRewriterBase { |
addStatement(new js.Comment("implicit return")); |
} |
addStatement(js.js.statement( |
- "return #runtimeHelper(#returnValue, #successCode, " |
- "#completer, null);", |
+ "return #runtimeHelper(#returnValue, #successCode, #completer);", |
{ |
"runtimeHelper": asyncHelper, |
"successCode": js.number(error_codes.SUCCESS), |
@@ -1772,7 +1771,7 @@ class AsyncRewriter extends AsyncRewriterBase { |
} |
#rewrittenBody; |
}); |
- return #asyncHelper(null, #bodyName, #completer, null); |
+ return #asyncHelper(null, #bodyName, #completer); |
}""", |
{ |
"parameters": parameters, |