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

Unified Diff: tests/isolate/isolate_create_error_helper_syntax_error.dart

Issue 297413002: Ensure that failure to start an isolate all end up in the future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't need to pretend imports. Created 6 years, 7 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/isolate/isolate_create_error_helper_lib5.dart ('k') | tests/isolate/isolate_create_error_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/isolate_create_error_helper_syntax_error.dart
diff --git a/tests/language/regress_18865_test.dart b/tests/isolate/isolate_create_error_helper_syntax_error.dart
similarity index 56%
copy from tests/language/regress_18865_test.dart
copy to tests/isolate/isolate_create_error_helper_syntax_error.dart
index ba64c4c9f51fff6ae2bc2e4f1605a8c0808ef472..bcd886e9fcd623be07abe757fbc0722e58ded47b 100644
--- a/tests/language/regress_18865_test.dart
+++ b/tests/isolate/isolate_create_error_helper_syntax_error.dart
@@ -2,14 +2,11 @@
// 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.
-// Regression test for issue 18865.
+library isolate.create.error_helper_syntax_error;
-class B<T> { }
+// This library has a syntax error, and fails to load.
-class A<T> extends B {
- static foo() => new A();
-}
+public static void main() {
+ print("MUST NOT BE PRINTED");
+};
-main () {
- A.foo();
-}
« no previous file with comments | « tests/isolate/isolate_create_error_helper_lib5.dart ('k') | tests/isolate/isolate_create_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698