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

Unified Diff: pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart

Issue 2675603002: Reduce strong mode errors and warnings (Closed)
Patch Set: Created 3 years, 11 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
Index: pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
index 24c48bab89243726e437c1290353d7be11349c1e..fb10a73936ec5ab19bd8749b6319467af76030d0 100644
--- a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
+++ b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
@@ -127,7 +127,7 @@ class AstBuilder extends ScopeListener {
void endArguments(int count, Token beginToken, Token endToken) {
debugEvent("Arguments");
- List expressions = popList(count);
+ List<Expression> expressions = popList(count);
ArgumentList arguments = ast.argumentList(toAnalyzerToken(beginToken),
expressions, toAnalyzerToken(endToken));
push(ast.methodInvocation(null, null, null, null, arguments));
@@ -187,7 +187,7 @@ class AstBuilder extends ScopeListener {
void endFunctionBody(int count, Token beginToken, Token endToken) {
debugEvent("FunctionBody");
- List statements = popList(count);
+ List<Statement> statements = popList(count);
if (beginToken != null) {
exitLocalScope();
}

Powered by Google App Engine
This is Rietveld 408576698