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 2abba433b4e3839b276cc50f741d50512a0fd145..7eb8f115e98718c72e2685348670721a175c2713 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart |
@@ -92,6 +92,8 @@ import 'kernel_builder.dart' |
import 'verifier.dart' show verifyProgram; |
class KernelTarget extends TargetImplementation { |
+ final bool strongMode; |
+ |
final DillTarget dillTarget; |
/// Shared with [CompilerContext]. |
@@ -105,7 +107,8 @@ class KernelTarget extends TargetImplementation { |
final TypeBuilder dynamicType = |
new KernelNamedTypeBuilder("dynamic", null, -1, null); |
- KernelTarget(DillTarget dillTarget, TranslateUri uriTranslator, |
+ KernelTarget( |
+ DillTarget dillTarget, TranslateUri uriTranslator, this.strongMode, |
[Map<String, Source> uriToSource]) |
: dillTarget = dillTarget, |
uriToSource = uriToSource ?? CompilerContext.current.uriToSource, |