Index: pkg/compiler/lib/src/types/constants.dart |
diff --git a/pkg/compiler/lib/src/types/constants.dart b/pkg/compiler/lib/src/types/constants.dart |
index d66a31c3b6f1b185e1ab01e3cfd5a4c7cc08f11c..219e6b1043c8c879d9ab78394a280fe1783705ca 100644 |
--- a/pkg/compiler/lib/src/types/constants.dart |
+++ b/pkg/compiler/lib/src/types/constants.dart |
@@ -48,7 +48,7 @@ class ConstantValueTypeMasks extends ConstantValueVisitor<TypeMask, Compiler> { |
@override |
TypeMask visitSynthetic(SyntheticConstantValue constant, Compiler compiler) { |
- switch (constant.kind) { |
+ switch (constant.valueKind) { |
case SyntheticConstantKind.DUMMY_INTERCEPTOR: |
return constant.payload; |
case SyntheticConstantKind.EMPTY_VALUE: |