mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
Use NnbdMode.Strong for frontend_server/ binary protocol.
Bug: https://github.com/dart-lang/sdk/issues/50100 Change-Id: Ibbacffd90c49d1446df4a59fd718b53017dda0f0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262441 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
This commit is contained in:
parent
83f292e0d6
commit
76c8886ff5
|
@ -8,6 +8,7 @@ import 'dart:io' as io;
|
|||
import 'dart:typed_data';
|
||||
|
||||
import 'package:_fe_analyzer_shared/src/macros/compiler/request_channel.dart';
|
||||
import 'package:front_end/src/base/nnbd_mode.dart' as fe;
|
||||
import 'package:front_end/src/api_prototype/compiler_options.dart' as fe;
|
||||
import 'package:front_end/src/api_prototype/file_system.dart' as fe;
|
||||
import 'package:front_end/src/api_prototype/kernel_generator.dart' as fe;
|
||||
|
@ -73,6 +74,7 @@ class _Client {
|
|||
final compilerOptions = fe.CompilerOptions()
|
||||
..environmentDefines = {}
|
||||
..fileSystem = _FileSystem(_channel, _dills)
|
||||
..nnbdMode = fe.NnbdMode.Strong
|
||||
..sdkSummary = Uri.parse(sdkSummaryUriStr)
|
||||
..target = vm.VmTarget(fe.TargetFlags(enableNullSafety: true));
|
||||
|
||||
|
|
Loading…
Reference in a new issue