| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
|
| index c55c2813ed43f4619097b233e7aaa679b4a6aee8..a9767c4365a5717e385608e0efaa6313ff45dc21 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
|
| @@ -262,7 +262,7 @@ public class StaticWarningCodeTest extends ResolverTestCase {
|
| public void test_argumentTypeNotAssignable_annotation_namedConstructor() throws Exception {
|
| Source source = addSource(createSource(//
|
| "class A {",
|
| - " A.fromInt(int p) {}",
|
| + " const A.fromInt(int p);",
|
| "}",
|
| "@A.fromInt('0')",
|
| "main() {",
|
| @@ -275,7 +275,7 @@ public class StaticWarningCodeTest extends ResolverTestCase {
|
| public void test_argumentTypeNotAssignable_annotation_unnamedConstructor() throws Exception {
|
| Source source = addSource(createSource(//
|
| "class A {",
|
| - " A(int p) {}",
|
| + " const A(int p);",
|
| "}",
|
| "@A('0')",
|
| "main() {",
|
|
|