Index: tests/compiler/dart2js/type_checker_test.dart |
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart |
index d0e7db555afb6f19413bc9471aa237845d343935..9406ea930368a10ae338d7378d817363cd0a2acf 100644 |
--- a/tests/compiler/dart2js/type_checker_test.dart |
+++ b/tests/compiler/dart2js/type_checker_test.dart |
@@ -2600,8 +2600,7 @@ analyzeIn(MockCompiler compiler, |
NodeListener listener = new NodeListener( |
const ScannerOptions(), compiler.reporter, null); |
Parser parser = new Parser(listener, |
- yieldIsKeyword: element.asyncMarker.isYielding, |
- awaitIsKeyword: element.asyncMarker.isAsync); |
+ asyncAwaitKeywordsEnabled: element.asyncMarker != AsyncMarker.SYNC); |
parser.parseStatement(tokens); |
Node node = listener.popNode(); |
TreeElements elements = compiler.resolveNodeStatement(node, element); |