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

Unified Diff: tests/html/js_type_test_lib.dart

Issue 2146283002: Fix html/js_type_test for Dartium (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 | « tests/html/js_type_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « tests/html/js_type_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698