Index: pkg/compiler/lib/src/resolution/members.dart |
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart |
index 871f6afcae0fcc50079894b67c19f372c6585494..b12218b4d36c3fb4beef0174e23c25706a35707f 100644 |
--- a/pkg/compiler/lib/src/resolution/members.dart |
+++ b/pkg/compiler/lib/src/resolution/members.dart |
@@ -444,11 +444,6 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> { |
// fields they reference are visible, but must be resolved independently. |
if (element.isInitializingFormal) { |
registry.useElement(parameterNode, element); |
- if (compiler.options.enableInitializingFormalAccess) { |
- InitializingFormalElementX initializingFormalElementX = element; |
- defineLocalVariable(parameterNode, initializingFormalElementX); |
- addToScope(initializingFormalElementX); |
- } |
} else { |
LocalParameterElementX parameterElement = element; |
defineLocalVariable(parameterNode, parameterElement); |