| Index: pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart
|
| index 3bc94e5eb070cbed11303a4f6bf3cbe91b99acca..bcfccdd95f268cbb6575591b2cd6fffd3c023050 100644
|
| --- a/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/constant_handler_javascript.dart
|
| @@ -245,7 +245,10 @@ class JavaScriptConstantCompiler extends ConstantCompilerBase
|
| }
|
| }
|
|
|
| + @override
|
| ConstantValue getConstantValue(ConstantExpression expression) {
|
| + assert(invariant(CURRENT_ELEMENT_SPANNABLE, expression != null));
|
| + evaluate(expression);
|
| ConstantValue value = super.getConstantValue(expression);
|
| if (value == null &&
|
| expression != null &&
|
|
|