| Index: pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
|
| diff --git a/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect b/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
|
| index 2394a16ee0cd9211f52cf255dec7e78390573904..19e08286ed711fa1f60966aee4b1aa68b9440348 100644
|
| --- a/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
|
| +++ b/pkg/front_end/testcases/rasta/bad_redirection.dart.direct.expect
|
| @@ -3,14 +3,15 @@ import self as self;
|
| import "dart:core" as core;
|
|
|
| class Foo extends core::Object {
|
| - constructor •() → dynamic
|
| + constructor •() → void
|
| : super core::Object::•()
|
| - invalid-statement;
|
| + const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_redirection.dart:6:11: Error: Can't return from a constructor.\n Foo() = Bar;\n ^"));
|
| }
|
| class Bar extends self::Foo {
|
| static factory •() → self::Bar
|
| return null;
|
| }
|
| +const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/rasta/bad_redirection.dart:6:9: Error: Expected a function body or '=>'.\n Foo() = Bar;\n ^"]/* from null */;
|
| static method main() → dynamic {
|
| new self::Foo::•();
|
| }
|
|
|