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

Unified Diff: test/cctest/interpreter/test-bytecode-generator.cc

Issue 2423053002: Install the 'name' property in classes at runtime (Closed)
Patch Set: rebased Created 4 years 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
Index: test/cctest/interpreter/test-bytecode-generator.cc
diff --git a/test/cctest/interpreter/test-bytecode-generator.cc b/test/cctest/interpreter/test-bytecode-generator.cc
index c5e6b3a21714a95f3d52cef0b2a672f872ae32bf..4ff9e5352a95df32fb16a09a151bec0d90da9d0d 100644
--- a/test/cctest/interpreter/test-bytecode-generator.cc
+++ b/test/cctest/interpreter/test-bytecode-generator.cc
@@ -2142,6 +2142,9 @@ TEST(ClassDeclarations) {
"var count = 0;\n"
"class C { constructor() { count++; }}\n"
"return new C();\n",
+
+ "(class {})\n"
+ "class E { static name () {}}\n",
};
CHECK(CompareTexts(BuildActual(printer, snippets),

Powered by Google App Engine
This is Rietveld 408576698