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 743ede2fde7aba34dcf82bb7ae1583b36536d7d1..37c0933c75f5d22c15a33b7dda844595e0f957f6 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -400,8 +400,7 @@ class ResolverTask extends CompilerTask { |
reporter.reportErrorMessage( |
element, MessageKind.FINAL_WITHOUT_INITIALIZER); |
} else { |
- // TODO(johnniwinther): Register a feature instead. |
- registry.registerTypeUse(new TypeUse.instantiation(coreTypes.nullType)); |
+ registry.registerFeature(Feature.FIELD_WITHOUT_INITIALIZER); |
} |
if (Elements.isStaticOrTopLevelField(element)) { |