Index: pkg/front_end/testcases/regress/issue_29986.dart.direct.expect |
diff --git a/pkg/front_end/testcases/regress/issue_29986.dart.direct.expect b/pkg/front_end/testcases/regress/issue_29986.dart.direct.expect |
index 97ad3812fca22fd336719312568f94c0fb329d4c..d3ac7d27398e7f0c9c6e6ad5ba2f3d45dfab5258 100644 |
--- a/pkg/front_end/testcases/regress/issue_29986.dart.direct.expect |
+++ b/pkg/front_end/testcases/regress/issue_29986.dart.direct.expect |
@@ -1,6 +1,6 @@ |
library; |
import self as self; |
-const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29986.dart:8:13: Error: Expected a function body or '=>'.\nC(this.name);\n ^", "pkg/front_end/testcases/regress/issue_29986.dart:8:3: Error: 'this' parameters can only be used on constructors.\nC(this.name);\n ^"]/* from null */; |
+const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/issue_29986.dart:8:13: Error: Expected a function body or '=>'.\nTry adding {}.\nC(this.name);\n ^", "pkg/front_end/testcases/regress/issue_29986.dart:8:3: Error: 'this' parameters can only be used on constructors.\nC(this.name);\n ^"]/* from null */; |
static method main() → dynamic {} |
static abstract method C(dynamic name) → dynamic; |