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

Unified Diff: runtime/bin/vmservice/vmservice_io.dart

Issue 19622003: VM Service isolate listing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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: runtime/bin/vmservice/vmservice_io.dart
diff --git a/tests/compiler/dart2js_extra/deferred/deferred_semantics_test.dart b/runtime/bin/vmservice/vmservice_io.dart
similarity index 50%
copy from tests/compiler/dart2js_extra/deferred/deferred_semantics_test.dart
copy to runtime/bin/vmservice/vmservice_io.dart
index 140faca3f8479b47e297b51ee4201a0a9f928b31..0ae0b6c603d6bdeff29b5529c14231cfb67caf76 100644
--- a/tests/compiler/dart2js_extra/deferred/deferred_semantics_test.dart
+++ b/runtime/bin/vmservice/vmservice_io.dart
@@ -2,14 +2,15 @@
// 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.
-// Test that deferred loading requires same library names.
+// TODO(johnmccutchan): Convert this into separate library which imports
+// the vmservice library.
-import 'dart:async';
+part of vmservice;
-@lazy /// 01: compile-time error
-import 'deferred_function_library.dart';
-
-const lazy = const DeferredLibrary('fisk');
+var _port;
main() {
+ var service = new VmService();
+ var server = new Server(service, _port);
+ server.startServer();
}

Powered by Google App Engine
This is Rietveld 408576698