| Index: runtime/bin/vmservice/vmservice_io.dart
|
| diff --git a/tests/compiler/dart2js_extra/regress/4515_3_test.dart b/runtime/bin/vmservice/vmservice_io.dart
|
| similarity index 50%
|
| copy from tests/compiler/dart2js_extra/regress/4515_3_test.dart
|
| copy to runtime/bin/vmservice/vmservice_io.dart
|
| index f224d709ae8c32c5a3a8d497c3bc0147f1fdb86a..0ae0b6c603d6bdeff29b5529c14231cfb67caf76 100644
|
| --- a/tests/compiler/dart2js_extra/regress/4515_3_test.dart
|
| +++ b/runtime/bin/vmservice/vmservice_io.dart
|
| @@ -2,21 +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.
|
|
|
| -import "package:expect/expect.dart";
|
| +// TODO(johnmccutchan): Convert this into separate library which imports
|
| +// the vmservice library.
|
|
|
| -class A {
|
| - a(x) => x + 1;
|
| -}
|
| +part of vmservice;
|
|
|
| -f(p) => p("A");
|
| +var _port;
|
|
|
| main() {
|
| - A a = new A();
|
| - a.a(1);
|
| - var v = null;
|
| - try {
|
| - v = f(a.a);
|
| - } catch (e) { }
|
| -
|
| - Expect.equals(null, v);
|
| + var service = new VmService();
|
| + var server = new Server(service, _port);
|
| + server.startServer();
|
| }
|
|
|