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

Unified Diff: tests/isolate/isolate_create_error_helper_lib5.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: Make test file be named *_test.dart 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
Index: tests/isolate/isolate_create_error_helper_lib5.dart
diff --git a/tests/language/deferred_not_loaded_check_lib.dart b/tests/isolate/isolate_create_error_helper_lib5.dart
similarity index 51%
copy from tests/language/deferred_not_loaded_check_lib.dart
copy to tests/isolate/isolate_create_error_helper_lib5.dart
index dc55869743f7419f33dc00ef6b8c5d55f318ab07..505ffa1036382c675850c95b02f2c924408d3576 100644
--- a/tests/language/deferred_not_loaded_check_lib.dart
+++ b/tests/isolate/isolate_create_error_helper_lib5.dart
@@ -2,21 +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.
-foo(int arg) {}
+library isolate.create.error_helper5_lib;
-class C {
- C(int arg) {}
- static foo(int arg) {}
-}
+// This library has a main that is not a function,
+// but is a constant with a function type.
-var a;
-int get getter => 42;
+void mymain() { print("Not call mymain function!"); }
-void set setter(int arg) {
- a = 10;
-}
-
-var list = new List();
-
-var closure = (int arg) => 3;
+const main = mymain;

Powered by Google App Engine
This is Rietveld 408576698