Index: tests/language/private_super_constructor_test.dart |
diff --git a/runtime/observatory/tests/ui/inspector_part.dart b/tests/language/private_super_constructor_test.dart |
similarity index 56% |
copy from runtime/observatory/tests/ui/inspector_part.dart |
copy to tests/language/private_super_constructor_test.dart |
index 7d3bcb62e4f208dffcbe734e26d0a25d67f98d3d..a203f4aba665eb7b7ab2ca306dea40062a44c3d7 100644 |
--- a/runtime/observatory/tests/ui/inspector_part.dart |
+++ b/tests/language/private_super_constructor_test.dart |
@@ -2,20 +2,12 @@ |
// 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 private_super_constructor_test; |
-functionInPart() { |
+import 'private_super_constructor_lib.dart'; |
+class C extends B { |
+ C() : super._foo(); /// 01: compile-time error |
} |
-set explicitSetter(x) {} |
- |
-get explicitGetter {} |
- |
- |
-class D { |
- set explicitSetter(x) {} |
- |
- get explicitGetter {} |
-} |
- |
+main() => new C(); |