mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 21:01:50 +00:00
[dart2js] Migrate js_backend/js_interop_analysis.dart to null safety.
Change-Id: I0c8b34881be46c6204e77526ce26f14b811d9b4b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/268162 Reviewed-by: Mayank Patke <fishythefish@google.com>
This commit is contained in:
parent
0cb784cfea
commit
60a6ad320d
|
@ -2,8 +2,6 @@
|
|||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
// @dart = 2.10
|
||||
|
||||
/// Analysis to determine how to generate code for typed JavaScript interop.
|
||||
library compiler.src.js_backend.js_interop_analysis;
|
||||
|
||||
|
@ -16,7 +14,7 @@ import '../universe/world_builder.dart' show SelectorConstraints;
|
|||
import 'namer_interfaces.dart';
|
||||
import 'native_data.dart';
|
||||
|
||||
jsAst.Statement buildJsInteropBootstrap(
|
||||
jsAst.Statement? buildJsInteropBootstrap(
|
||||
CodegenWorld codegenWorld, NativeBasicData nativeBasicData, Namer namer) {
|
||||
if (!nativeBasicData.isJsInteropUsed) return null;
|
||||
List<jsAst.Statement> statements = [];
|
||||
|
|
Loading…
Reference in a new issue