Index: tests/html/js_type_test_lib.dart |
diff --git a/tests/language/regress_25609_test.dart b/tests/html/js_type_test_lib.dart |
similarity index 67% |
copy from tests/language/regress_25609_test.dart |
copy to tests/html/js_type_test_lib.dart |
index 579f1c2b34d925c5e6ee74dd1fce9458997bc035..6b7113c42edbdc4097826c854eab5e3db9222494 100644 |
--- a/tests/language/regress_25609_test.dart |
+++ b/tests/html/js_type_test_lib.dart |
@@ -2,12 +2,12 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// VMOptions=--error-on-bad-type |
+@JS() |
+library js_type_test_lib; |
-import 'regress_25609_lib1.dart'; |
+import 'package:js/js.dart'; |
-Foo baz() => null; |
- |
-main () { |
- baz(); |
+@JS() |
+class Foo { |
+ external factory Foo(); |
} |