Index: pkg/compiler/lib/src/typechecker.dart |
diff --git a/pkg/compiler/lib/src/typechecker.dart b/pkg/compiler/lib/src/typechecker.dart |
index 85710b11d3da5cbf9d040e3dd29402925f1cfc42..750357eb8b074fa4869140c97907fdeb2003a0ad 100644 |
--- a/pkg/compiler/lib/src/typechecker.dart |
+++ b/pkg/compiler/lib/src/typechecker.dart |
@@ -1057,10 +1057,7 @@ class TypeCheckerVisitor extends Visitor<DartType> { |
} else if (element.isFunction) { |
// foo() where foo is a method in the same class. |
return createResolvedAccess(node, name, element); |
- } else if (element.isVariable || |
- element.isParameter || |
- element.isField || |
- element.isInitializingFormal) { |
+ } else if (element.isVariable || element.isParameter || element.isField) { |
// foo() where foo is a field in the same class. |
return createResolvedAccess(node, name, element); |
} else if (element.isGetter || element.isSetter) { |