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

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

Issue 2962913002: Create an option to disable type inference and type promotion. (Closed)
Patch Set: Created 3 years, 6 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_target.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
index f749d5c902ba3f0fbfd16f04327a5a6a323bc0ae..31458b67c3933eee95dd67707b4f4d90a6fd10f4 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
@@ -101,6 +101,8 @@ class KernelTarget extends TargetImplementation {
bool get strongMode => backendTarget.strongMode;
+ bool get disableTypeInference => backendTarget.disableTypeInference;
+
KernelTarget(
this.fileSystem, DillTarget dillTarget, TranslateUri uriTranslator,
[Map<String, Source> uriToSource])
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_field_builder.dart ('k') | pkg/front_end/lib/src/fasta/source/diet_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698