Index: pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect |
diff --git a/pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect b/pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect |
index ed6b4f7eaab4a313d2cddfce1252bdbf04e8f9e1..d74a299208bc1b3333a0736e7a4ac6f471ea80d8 100644 |
--- a/pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect |
+++ b/pkg/front_end/testcases/rasta/issue_000044.dart.direct.expect |
@@ -3,23 +3,24 @@ import self as self; |
import "dart:core" as core; |
class C extends core::Object { |
- const constructor constant() → dynamic |
+ static field dynamic _redirecting# = <dynamic>[self::C::good]; |
+ const constructor constant() → void |
: super core::Object::•() |
; |
- constructor missingFactoryKeyword() → dynamic |
+ constructor missingFactoryKeyword() → void |
: super core::Object::•() |
- invalid-statement; |
+ const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/issue_000044.dart:14:31: Error: Can't return from a constructor.\n C.missingFactoryKeyword() = C.constant;\n ^")); |
static factory good() → self::C |
- invalid-statement; |
+ let dynamic #redirecting_factory = self::C::constant in invalid-expression; |
method notEvenAConstructor(dynamic a) → self::C |
invalid-statement; |
} |
-static method b() → dynamic |
- invalid-statement; |
+static method b(dynamic c) → invalid-type |
+ return throw new core::NoSuchMethodError::_withType(null, #d, 33, <dynamic>[].toList(growable: false), <dynamic, dynamic>{}, null); |
static method main() → dynamic { |
self::C c = null; |
core::print(const self::C::constant()); |
- core::print(invalid-expression); |
+ core::print(const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/issue_000044.dart:27:15: Error: Not a const constructor.\n print(const C.missingFactoryKeyword());\n ^"))); |
core::print(const self::C::constant()); |
core::print(new self::C::constant().notEvenAConstructor(null)); |
} |