Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: pkg/compiler/lib/src/elements/common.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/dump_info.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « pkg/compiler/lib/src/dump_info.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698