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

Unified Diff: pkg/front_end/lib/src/fasta/builder/builder.dart

Issue 2828253003: Add top level type inference logic for integer literals. (Closed)
Patch Set: Clean up, bug fix, and remove unintentional expectations changes 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/builder/builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/builder.dart b/pkg/front_end/lib/src/fasta/builder/builder.dart
index aab930a7e3a65da8fa96c682730776f2f864a0b2..940bc78207247f717219570d50d7832138f103e2 100644
--- a/pkg/front_end/lib/src/fasta/builder/builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/builder.dart
@@ -58,6 +58,12 @@ export 'function_type_builder.dart' show FunctionTypeBuilder;
import 'library_builder.dart' show LibraryBuilder;
+import 'package:front_end/src/fasta/builder/class_builder.dart'
+ show ClassBuilder;
+
+import 'package:front_end/src/fasta/type_inference/type_inferrer.dart'
+ show TypeInferrer;
+
abstract class Builder {
/// Used when multiple things with the same name are declared within the same
/// parent. Only used for declarations, not for scopes.
@@ -132,4 +138,7 @@ abstract class Builder {
} while (builder != null);
return internalError("No library parent.");
}
+
+ void prepareInitializerInference(TypeInferrer typeInferrer,
+ LibraryBuilder library, ClassBuilder currentClass) {}
}

Powered by Google App Engine
This is Rietveld 408576698