Index: tests/standalone/package/test_folder/folder_isolate.dart |
diff --git a/tests/compiler/dart2js_extra/source_mapping_crash_test.dart b/tests/standalone/package/test_folder/folder_isolate.dart |
similarity index 51% |
copy from tests/compiler/dart2js_extra/source_mapping_crash_test.dart |
copy to tests/standalone/package/test_folder/folder_isolate.dart |
index 63b038ec3038599b030949ff01ce4b15363299d1..4d7f65874ef4fadc68ec0a6feef26af452f7a661 100644 |
--- a/tests/compiler/dart2js_extra/source_mapping_crash_test.dart |
+++ b/tests/standalone/package/test_folder/folder_isolate.dart |
@@ -1,17 +1,17 @@ |
+ |
siva
2012/10/17 17:26:23
extra blank line?
|
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// 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. |
-#library('source_mapping_crash_test'); |
- |
-#source('source_mapping_crash_source.dart'); |
- |
-class Sub extends Super { |
- Sub(var x) : super(x.y); |
-} |
+library folder_isolate; |
-class X { var y; } |
+import 'package:folder_lib.dart'; |
siva
2012/10/17 17:26:23
I think you should import this with a prefix and u
justinfagnani
2012/10/17 18:11:56
Done.
|
+import 'dart:isolate'; |
+// This file is spawned from package_isolate_test.dart |
main() { |
- new Sub(new X()); |
+ count = 1; |
+ port.receive((msg, replyTo) { |
+ replyTo.send('success'); |
+ }); |
} |