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

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

Issue 2278153004: Refactor object/class literal property name parsing (Closed)
Patch Set: make compilers happy Created 4 years, 4 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
« src/parsing/parser-base.h ('K') | « src/parsing/preparser.cc ('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 d50095cdf0cbf8d65ada096cfa489e19be649709..3b7f622a52a51b70e4527f9569d05363ab0e7a56 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -4478,6 +4478,9 @@ TEST(ClassExpressionErrors) {
"class { m; n }",
"class { m: 1 }",
"class { m(); n() }",
+ "class { *(){} }",
+ "class { get *(){} }",
+ "class { static *(){} }",
"class { get m }",
"class { get m() }",
"class { get m() { }",
« src/parsing/parser-base.h ('K') | « src/parsing/preparser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698