Index: tests/compiler/dart2js/constant_expression_evaluate_test.dart |
diff --git a/tests/compiler/dart2js/constant_expression_evaluate_test.dart b/tests/compiler/dart2js/constant_expression_evaluate_test.dart |
index 49f3b51fe88eea9b2fc0992e85b1f2e8ab018350..fde84c359481a4b2e8de4e10f9ce2d80fec90364 100644 |
--- a/tests/compiler/dart2js/constant_expression_evaluate_test.dart |
+++ b/tests/compiler/dart2js/constant_expression_evaluate_test.dart |
@@ -108,10 +108,6 @@ class C extends B { |
const C({field1: 42, this.field2: false}) : super(field1); |
const C.named([field = false]) : this(field1: field, field2: field); |
} |
-class D extends C { |
- final field3 = 99; |
- const D(a, b) : super(field2: a, field1: b); |
-} |
''', const [ |
const ConstantData('const Object()', |
const { const {} : 'ConstructedConstant(Object())' }), |
@@ -144,10 +140,6 @@ class D extends C { |
const {'foo': 'false', 'bar': '87'} : |
'ConstructedConstant(C(field1=BoolConstant(false),' |
'field2=IntConstant(87)))', }), |
- const ConstantData('const D(42, 87)', const { const {} : |
- 'ConstructedConstant(D(field1=IntConstant(87),' |
- 'field2=IntConstant(42),' |
- 'field3=IntConstant(99)))' }), |
]), |
const TestData(''' |
class A<T> implements B { |