Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1343)

Unified Diff: test/cctest/test-parsing.cc

Issue 2100623002: [parser] report error for shorthand property "await" in async arrow formals (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: also test in preparser Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parsing/parser-base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-parsing.cc
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
index 79df9b14c3fe5d5fe49ed22636737a593607c2ca..ab1fc765991cf6206ce13ca35d03be3441940628 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -7716,17 +7716,9 @@ TEST(AsyncAwaitErrors) {
arraysize(always_flags));
RunParserSyncTest(strict_context_data, strict_error_data, kError, NULL, 0,
always_flags, arraysize(always_flags));
- {
- // TODO(caitp): support these early errors in preparser
- USE(formal_parameters_data);
- // const bool kIsModule = false;
- // const bool kTestPreparser = false;
- // TODO(caitp): These tests seem to fail test-parsing.cc, even with
- // test_preparser disabled.
- // RunParserSyncTest(context_data, formal_parameters_data, kError, NULL, 0,
- // always_flags, arraysize(always_flags), NULL, 0,
- // kIsModule, kTestPreparser);
- }
+
+ RunParserSyncTest(context_data, formal_parameters_data, kError, NULL, 0,
+ always_flags, arraysize(always_flags));
}
TEST(AsyncAwaitModule) {
« no previous file with comments | « src/parsing/parser-base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698