Index: pkg/compiler/lib/src/resolution/resolution.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart |
index 58d038b404312f4ba057ff6982f835d0446edfb3..2f2b2543f8c67443ba457ee7fc93a6ee396d30f5 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -376,7 +376,7 @@ class ResolverTask extends CompilerTask { |
if (element.modifiers.isConst) { |
element.constant = constantCompiler.compileConstant(element); |
} else { |
- constantCompiler.compileVariable(element); |
+ element.constant = constantCompiler.compileVariable(element); |
} |
}); |
if (initializer != null) { |