| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
|
| index ce0ac46165713f35c9b291040ca7f4d1386a322f..5aca4965c41c0bd65b212cb317f950d591b96a27 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/CompileTimeErrorCodeTest.java
|
| @@ -360,7 +360,7 @@ public class CompileTimeErrorCodeTest extends ResolverTestCase {
|
| verify(source);
|
| }
|
|
|
| - public void test_constEval_propertyExtraction_methodInstance() throws Exception {
|
| + public void test_constEval_propertyExtraction_targetNotConst() throws Exception {
|
| Source source = addSource(createSource(//
|
| "class A {",
|
| " const A();",
|
| @@ -373,19 +373,6 @@ public class CompileTimeErrorCodeTest extends ResolverTestCase {
|
| verify(source);
|
| }
|
|
|
| - public void test_constEval_propertyExtraction_methodStatic_targetInstance() throws Exception {
|
| - Source source = addSource(createSource(//
|
| - "class A {",
|
| - " const A();",
|
| - " static m() {}",
|
| - "}",
|
| - "final a = const A();",
|
| - "const C = a.m;"));
|
| - resolve(source);
|
| - assertErrors(CompileTimeErrorCode.CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE);
|
| - verify(source);
|
| - }
|
| -
|
| public void test_constEvalThrowsException_binaryMinus_null() throws Exception {
|
| check_constEvalThrowsException_binary_null("null - 5", false);
|
| check_constEvalThrowsException_binary_null("5 - null", true);
|
|
|