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. |