Index: pkg/compiler/lib/src/elements/modelx.dart |
diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart |
index 8cf86c932c769ff3dd880bc266c86bf4ae06379c..50e0a588080c5b91cad25ed6e16a6bbe3559702b 100644 |
--- a/pkg/compiler/lib/src/elements/modelx.dart |
+++ b/pkg/compiler/lib/src/elements/modelx.dart |
@@ -1300,7 +1300,7 @@ abstract class ConstantVariableMixin implements VariableElement { |
if (isPatch) { |
ConstantVariableMixin originVariable = origin; |
originVariable.constant = value; |
- return null; |
+ return; |
} |
assert(invariant( |
this, constantCache == null || constantCache == value, |