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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart

Issue 2886443003: Minor type inference fixes. (Closed)
Patch Set: Created 3 years, 7 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/kernel/kernel_formal_parameter_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart
index 86b03071e5c80ddceb89edb85250548eef6d57ff..d1ffc333984083d1802b3ab91d374438b48d8738 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_formal_parameter_builder.dart
@@ -6,7 +6,6 @@ library fasta.kernel_formal_parameter_builder;
import 'package:front_end/src/fasta/kernel/kernel_shadow_ast.dart'
show KernelVariableDeclaration;
-import 'package:kernel/ast.dart' show DynamicType;
import 'kernel_builder.dart'
show
@@ -36,9 +35,7 @@ class KernelFormalParameterBuilder
KernelVariableDeclaration build(LibraryBuilder library) {
return declaration ??= new KernelVariableDeclaration(name, 0,
- type: type?.build(library) ?? const DynamicType(),
- isFinal: isFinal,
- isConst: isConst)
+ type: type?.build(library), isFinal: isFinal, isConst: isConst)
..fileOffset = charOffset;
}
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698