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; |
} |
} |