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

Unified Diff: test/mjsunit/harmony/class-fields-function-name-inference.js

Issue 2330473002: Class fields, part 3 (backends)
Patch Set: bytecode test Created 4 years, 3 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 | « test/mjsunit/harmony/class-fields-evaluation-order.js ('k') | test/mjsunit/harmony/class-fields-proxy.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/class-fields-function-name-inference.js
diff --git a/test/message/generators-throw1.js b/test/mjsunit/harmony/class-fields-function-name-inference.js
similarity index 50%
copy from test/message/generators-throw1.js
copy to test/mjsunit/harmony/class-fields-function-name-inference.js
index b4d404a1bf4d1e8f46c669c79f9ececd6f1ee64f..d5196eede2f90211cc6096b46c825bebf1dcefcc 100644
--- a/test/message/generators-throw1.js
+++ b/test/mjsunit/harmony/class-fields-function-name-inference.js
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function* f() { yield }
+// Flags: --harmony-class-fields
-f().throw(42);
+// TODO(bakkot) write tests once this is spec'd
+// (https://github.com/jeffmo/es-class-public-fields/issues/48)
+// and implemented.
« no previous file with comments | « test/mjsunit/harmony/class-fields-evaluation-order.js ('k') | test/mjsunit/harmony/class-fields-proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698