Index: pkg/front_end/lib/src/fasta/source/diet_listener.dart |
diff --git a/pkg/front_end/lib/src/fasta/source/diet_listener.dart b/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
index 1c55c6ea42041591ca83e1db3a599335e3ad1a0b..ee46b5b1861fc5f6a2959a4f6625f3efa2aa8cce 100644 |
--- a/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
+++ b/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
@@ -4,9 +4,6 @@ |
library fasta.diet_listener; |
-import 'package:front_end/src/fasta/kernel/kernel_ast_factory.dart' |
- show KernelAstFactory; |
- |
import 'package:front_end/src/fasta/type_inference/type_inference_engine.dart' |
show TypeInferenceEngine; |
@@ -410,18 +407,8 @@ class DietListener extends StackListener { |
var listener = new TypeInferenceListener(); |
var typeInferrer = |
typeInferenceEngine.createLocalTypeInferrer(uri, listener); |
- return new BodyBuilder( |
- library, |
- builder, |
- memberScope, |
- formalParameterScope, |
- hierarchy, |
- coreTypes, |
- currentClass, |
- isInstanceMember, |
- uri, |
- typeInferrer, |
- new KernelAstFactory()) |
+ return new BodyBuilder(library, builder, memberScope, formalParameterScope, |
+ hierarchy, coreTypes, currentClass, isInstanceMember, uri, typeInferrer) |
..constantExpressionRequired = builder.isConstructor && builder.isConst; |
} |