Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index 41e7227e7b07de3dd592cc82db730a07a483a782..73ba2345330b9726c0c5d8ce780c4ca876997f93 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -2820,6 +2820,11 @@ class JavaScriptImpactTransformer extends ImpactTransformer { |
case Feature.FALL_THROUGH_ERROR: |
registerBackendImpact(transformed, impacts.fallThroughError); |
break; |
+ case Feature.FIELD_WITHOUT_INITIALIZER: |
+ transformed.registerTypeUse( |
+ new TypeUse.instantiation(backend.coreTypes.nullType)); |
+ registerBackendImpact(transformed, impacts.nullLiteral); |
+ break; |
case Feature.INC_DEC_OPERATION: |
registerBackendImpact(transformed, impacts.incDecOperation); |
break; |