| 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 fbe417b7e70d9fdfce63bbb4a66684c898ebc7e1..c2b58071ea75d6745021748e5e460d44e69d7259 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
|
| @@ -1197,6 +1197,14 @@ public class StaticWarningCodeTest extends ResolverTestCase {
|
| verify(source);
|
| }
|
|
|
| + public void test_listElementTypeNotAssignable() throws Exception {
|
| + Source source = addSource(createSource(//
|
| + "var v = <String> [42];"));
|
| + resolve(source);
|
| + assertErrors(StaticWarningCode.LIST_ELEMENT_TYPE_NOT_ASSIGNABLE);
|
| + verify(source);
|
| + }
|
| +
|
| public void test_mismatchedAccessorTypes_class() throws Exception {
|
| Source source = addSource(createSource(//
|
| "class A {",
|
|
|