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