mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 05:37:56 +00:00
[js] Flip strict mode flag for Dart2Wasm.
Change-Id: I1847e60d2db86dabeda78839895e1acacbe3ffc5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290348 Commit-Queue: Joshua Litt <joshualitt@google.com> Reviewed-by: Srujan Gaddam <srujzs@google.com>
This commit is contained in:
parent
31d32b2e24
commit
0d6a1acd75
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class WasmTarget extends Target {
|
|||
diagnosticReporter as DiagnosticReporter<Message, LocatedMessage>,
|
||||
_nativeClasses!,
|
||||
enableDisallowedExternalCheck: false,
|
||||
enableStrictMode: false);
|
||||
enableStrictMode: true);
|
||||
// Process and validate first before doing anything with exports.
|
||||
for (Library library in interopDependentLibraries) {
|
||||
jsInteropChecks.visitLibrary(library);
|
||||
|
|
Loading…
Reference in a new issue