Index: runtime/observatory/tests/service/get_retained_size_rpc_test.dart |
diff --git a/runtime/observatory/tests/service/get_retained_size_rpc_test.dart b/runtime/observatory/tests/service/get_retained_size_rpc_test.dart |
index a8a66f6eb07a690ff3f5364e185b9716416f8faa..e71acb67403fb7769b673fdb1401eecbec646dc1 100644 |
--- a/runtime/observatory/tests/service/get_retained_size_rpc_test.dart |
+++ b/runtime/observatory/tests/service/get_retained_size_rpc_test.dart |
@@ -3,8 +3,6 @@ |
// BSD-style license that can be found in the LICENSE file. |
// VMOptions=--compile-all --error_on_bad_type --error_on_bad_override |
-import 'dart:async'; |
- |
import 'package:observatory/service_io.dart'; |
import 'package:unittest/unittest.dart'; |
@@ -19,6 +17,8 @@ class _TestClass { |
var myVar; |
eval(Isolate isolate, String expression) async { |
+ // Silence analyzer. |
+ new _TestClass(null, null); |
Map params = { |
'targetId': isolate.rootLib.id, |
'expression': expression, |