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

Unified Diff: pkg/front_end/lib/src/fasta/source/source_library_builder.dart

Issue 2830313002: Split up TypeInferrer class. (Closed)
Patch Set: Created 3 years, 8 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/source/source_library_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
index 3a0985fd7039b44a01d49d6bf507669a71f3ea05..c19a28d69f3960e1c67b81d4f4c310c1a91e15dc 100644
--- a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
@@ -6,8 +6,8 @@ library fasta.source_library_builder;
import 'package:front_end/src/fasta/scanner/token.dart' show SymbolToken, Token;
-import 'package:front_end/src/fasta/type_inference/type_inferrer.dart'
- show TypeInferrer;
+import 'package:front_end/src/fasta/type_inference/type_inference_engine.dart'
+ show TypeInferenceEngine;
import 'package:kernel/ast.dart' show AsyncMarker, ProcedureKind;
@@ -485,10 +485,11 @@ abstract class SourceLibraryBuilder<T extends TypeBuilder, R>
String get fullNameForErrors => name ?? "<library '$relativeFileUri'>";
@override
- void prepareInitializerInference(TypeInferrer typeInferrer,
+ void prepareInitializerInference(TypeInferenceEngine typeInferenceEngine,
LibraryBuilder library, ClassBuilder currentClass) {
forEach((String name, Builder member) {
- member.prepareInitializerInference(typeInferrer, library, currentClass);
+ member.prepareInitializerInference(
+ typeInferenceEngine, library, currentClass);
});
}
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/source_class_builder.dart ('k') | pkg/front_end/lib/src/fasta/source/source_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698