Index: runtime/observatory/tests/service/deferred_library.dart |
diff --git a/runtime/observatory/tests/ui/inspector_part.dart b/runtime/observatory/tests/service/deferred_library.dart |
similarity index 52% |
copy from runtime/observatory/tests/ui/inspector_part.dart |
copy to runtime/observatory/tests/service/deferred_library.dart |
index 7d3bcb62e4f208dffcbe734e26d0a25d67f98d3d..d2074ee6dd7d619fdbdf1e045b5166ac662b2686 100644 |
--- a/runtime/observatory/tests/ui/inspector_part.dart |
+++ b/runtime/observatory/tests/service/deferred_library.dart |
@@ -2,20 +2,17 @@ |
// 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. |
-part of manual_inspector_test; |
+library deferred_library; |
-functionInPart() { |
+int value = 0; |
+int decValue(int amount) { |
+ value -= amount; |
+ return amount; |
} |
-set explicitSetter(x) {} |
+void deferredTest() { |
+ decValue(decValue(1)); // line 15 |
-get explicitGetter {} |
- |
- |
-class D { |
- set explicitSetter(x) {} |
- |
- get explicitGetter {} |
+ decValue(decValue(1)); // line 17 |
} |
- |