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

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

Issue 2710393002: Revert "Add NormalFormalParameter.covariantKeyword setter and factory parameter." (Closed)
Patch Set: Created 3 years, 10 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/analyzer/test/src/dart/ast/utilities_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e573b3d39ef05ac3c89369666f9bddd6b6cc588a..51e088fd184912e17b64f9fad1ed52c7fefbc1cc 100644
--- a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
+++ b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
@@ -512,7 +512,7 @@ class AstBuilder extends ScopeListener {
FormalParameter node;
if (thisKeyword == null) {
node = ast.simpleFormalParameter(
- null, null, null, toAnalyzerToken(keyword), type, name);
+ null, null, toAnalyzerToken(keyword), type, name);
} else {
// TODO(scheglov): Ideally the period token should be passed in.
Token period = identical('.', thisKeyword.next?.stringValue)
@@ -523,7 +523,6 @@ class AstBuilder extends ScopeListener {
node = ast.fieldFormalParameter(
null,
null,
- null,
toAnalyzerToken(keyword),
type,
toAnalyzerToken(thisKeyword),
« no previous file with comments | « pkg/analyzer/test/src/dart/ast/utilities_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698