Index: pkg/compiler/lib/src/elements/common.dart |
diff --git a/pkg/compiler/lib/src/elements/common.dart b/pkg/compiler/lib/src/elements/common.dart |
index 42fbeccacab3b72a06ce280a53913e7d4cf85a20..368e1cc0131b3488b6e69a76313c10b442322150 100644 |
--- a/pkg/compiler/lib/src/elements/common.dart |
+++ b/pkg/compiler/lib/src/elements/common.dart |
@@ -503,20 +503,20 @@ abstract class FunctionSignatureCommon implements FunctionSignature { |
ResolutionDartType get returnType => type.returnType; |
- void forEachRequiredParameter(void function(Element parameter)) { |
+ void forEachRequiredParameter(void function(FormalElement parameter)) { |
requiredParameters.forEach(function); |
} |
- void forEachOptionalParameter(void function(Element parameter)) { |
+ void forEachOptionalParameter(void function(FormalElement parameter)) { |
optionalParameters.forEach(function); |
} |
- void forEachParameter(void function(Element parameter)) { |
+ void forEachParameter(void function(FormalElement parameter)) { |
forEachRequiredParameter(function); |
forEachOptionalParameter(function); |
} |
- void orderedForEachParameter(void function(Element parameter)) { |
+ void orderedForEachParameter(void function(FormalElement parameter)) { |
forEachRequiredParameter(function); |
orderedOptionalParameters.forEach(function); |
} |