[FIR][checkers][Wasm] Turn FirWasmJsInteropTypesChecker into a platform checker
#KT-66475 Fixed
This commit is contained in:
committed by
Space Team
parent
478c1a6d50
commit
8f420eb3e1
+1
-1
@@ -22,7 +22,7 @@ import org.jetbrains.kotlin.fir.resolve.fullyExpandedType
|
||||
import org.jetbrains.kotlin.fir.types.*
|
||||
import org.jetbrains.kotlin.name.WasmStandardClassIds
|
||||
|
||||
object FirWasmJsInteropTypesChecker : FirBasicDeclarationChecker(MppCheckerKind.Common) {
|
||||
object FirWasmJsInteropTypesChecker : FirBasicDeclarationChecker(MppCheckerKind.Platform) {
|
||||
override fun check(declaration: FirDeclaration, context: CheckerContext, reporter: DiagnosticReporter) {
|
||||
val session = context.session
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
expect interface ExternalInterface
|
||||
|
||||
external fun externalFunction(arg: <!WRONG_JS_INTEROP_TYPE!>ExternalInterface<!>)
|
||||
external fun externalFunction(arg: ExternalInterface)
|
||||
|
||||
// MODULE: wasm()()(commonwasm)
|
||||
// TARGET_PLATFORM: Wasm
|
||||
|
||||
Reference in New Issue
Block a user