Index: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
index e800c0fdba575ead33cfaabd45f9a0e5c188afd9..bcc96c8b113984b22af0de74f7bdcdc1b12429b0 100644 |
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
@@ -669,7 +669,7 @@ class SimpleTypeInferrerVisitor<T> |
if (element.isField) { |
if (!selector.isSetter && |
isInClassOrSubclass(element) && |
- !element.modifiers.isFinal && |
+ !element.isFinal && |
locals.fieldScope.readField(element) == null && |
element.initializer == null) { |
// If the field is being used before this constructor |