Index: tests/compiler/dart2js/const_exp_test.dart |
diff --git a/tests/compiler/dart2js/const_exp_test.dart b/tests/compiler/dart2js/const_exp_test.dart |
index a903a62a62c65391229cf74f9be0edd9855cad65..c2ba74e7d1f8279007fcf317f487d54099051ef6 100644 |
--- a/tests/compiler/dart2js/const_exp_test.dart |
+++ b/tests/compiler/dart2js/const_exp_test.dart |
@@ -32,7 +32,7 @@ test(String constantInitializer, [String expectedOutput]) { |
""", |
expectNoWarningsOrErrors: true) |
.then((env) { |
- var element = env.getElement('constant'); |
+ dynamic element = env.getElement('constant'); |
Expect.isNotNull(element, "Element 'constant' not found."); |
var constant = element.constant; |
var value = env.compiler.constants.getConstantValue(constant); |