| Index: pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.dart.direct.expect
|
| diff --git a/pkg/front_end/testcases/rasta/bad_constructor_redirection.dart.direct.expect b/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.dart.direct.expect
|
| similarity index 51%
|
| copy from pkg/front_end/testcases/rasta/bad_constructor_redirection.dart.direct.expect
|
| copy to pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.dart.direct.expect
|
| index 76f08943dcce05bac1514d905aefea73efeece7c..0036a16ad453d4f60d5ae352c4b16830bd595fa2 100644
|
| --- a/pkg/front_end/testcases/rasta/bad_constructor_redirection.dart.direct.expect
|
| +++ b/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.dart.direct.expect
|
| @@ -1,15 +1,14 @@
|
| -library;
|
| +library test;
|
| import self as self;
|
| import "dart:core" as core;
|
|
|
| class C extends core::Object {
|
| - const constructor •() → void
|
| - : invalid-initializer;
|
| - const constructor x() → void
|
| + field dynamic y = self::x;
|
| + default constructor •() → void
|
| : super core::Object::•()
|
| ;
|
| }
|
| +static field dynamic x = "x";
|
| static method main() → dynamic {
|
| - new self::C::•();
|
| - const self::C::•();
|
| + self::x;
|
| }
|
|
|