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

Unified Diff: tests/standalone/package/test_folder/folder_isolate.dart

Issue 11195017: Allow package: imports inside isolates (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/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');
+ });
}

Powered by Google App Engine
This is Rietveld 408576698