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..3658a7d8b8c30ebf30909d963c21450266e938ec 100644 |
--- a/pkg/compiler/lib/src/resolution/members.dart |
+++ b/pkg/compiler/lib/src/resolution/members.dart |
@@ -2573,11 +2573,6 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> { |
} else { |
semantics = new StaticAccess.parameter(element); |
} |
- } else if (element.isInitializingFormal && |
- compiler.options.enableInitializingFormalAccess) { |
- error = reportAndCreateErroneousElement(node.selector, name.text, |
- MessageKind.UNDEFINED_STATIC_SETTER_BUT_GETTER, {'name': name}); |
- semantics = new StaticAccess.finalParameter(element); |
} else if (element.isVariable) { |
if (element.isFinal || element.isConst) { |
error = reportAndCreateErroneousElement(node.selector, name.text, |