Index: pkg/front_end/testcases/rasta/issue_000041.dart.direct.expect |
diff --git a/pkg/front_end/testcases/rasta/issue_000041.dart.direct.expect b/pkg/front_end/testcases/rasta/issue_000041.dart.direct.expect |
index 9a674a0fe3c09e3614439176a49406069971625e..182a4d8d2ab478214f5bfb879348b81610a069d3 100644 |
--- a/pkg/front_end/testcases/rasta/issue_000041.dart.direct.expect |
+++ b/pkg/front_end/testcases/rasta/issue_000041.dart.direct.expect |
@@ -3,12 +3,14 @@ import self as self; |
import "dart:core" as core; |
class C extends core::Object { |
- constructor •() → self::C |
- : super core::Object::•(); |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
method test() → dynamic { |
- self::use(invalid-expression); |
+ self::use(const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError::•("pkg/front_end/testcases/rasta/issue_000041.dart:7:10: Error: Can't use `super` as an expression.\n use(+super);\n ^"))); |
} |
} |
+const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/rasta/issue_000041.dart:7:9: Error: '+' is not a prefix operator. \n use(+super);\n ^"]/* from null */; |
static method use(dynamic _) → dynamic |
return null; |
static method main() → dynamic { |