Index: pkg/compiler/lib/src/constants/values.dart |
diff --git a/pkg/compiler/lib/src/constants/values.dart b/pkg/compiler/lib/src/constants/values.dart |
index e40a6b838ac1dea110fc78cdacc932f3dbfa99e5..69c89cf06d5d84e7d2796969f6089a9551c8efe1 100644 |
--- a/pkg/compiler/lib/src/constants/values.dart |
+++ b/pkg/compiler/lib/src/constants/values.dart |
@@ -639,6 +639,7 @@ class ConstructedConstantValue extends ObjectConstantValue { |
hashCode = Hashing.mapHash(fields, Hashing.objectHash(type)), |
super(type) { |
assert(type != null); |
+ assert(!fields.containsValue(null)); |
} |
bool get isConstructedObject => true; |