[Wasm] Add K2 checkers.wasm module (KT-56849)

Add first K2 checker ExternalInheritanceChecker to test the infra
This commit is contained in:
Svyatoslav Kuzmich
2023-08-30 16:10:29 +02:00
committed by Space Team
parent 0da9cf8159
commit a10042f909
20 changed files with 218 additions and 7 deletions
@@ -10,13 +10,13 @@ external class EC3 : I1, C1
external interface EI1 : I1
interface I2 : EI1
interface <!NON_EXTERNAL_TYPE_EXTENDS_EXTERNAL_TYPE!>I2<!> : EI1
class C3 : EI1
class <!NON_EXTERNAL_TYPE_EXTENDS_EXTERNAL_TYPE!>C3<!> : EI1
class C4 : EI1, EC1()
class <!NON_EXTERNAL_TYPE_EXTENDS_EXTERNAL_TYPE, NON_EXTERNAL_TYPE_EXTENDS_EXTERNAL_TYPE!>C4<!> : EI1, EC1()
object O1 : EC1()
<!NON_EXTERNAL_TYPE_EXTENDS_EXTERNAL_TYPE!>object O1<!> : EC1()
val x1: Any = object : EI1 {}
val x2: Any = object : EC1() {}
val x1: Any = <!NON_EXTERNAL_TYPE_EXTENDS_EXTERNAL_TYPE!>object<!> : EI1 {}
val x2: Any = <!NON_EXTERNAL_TYPE_EXTENDS_EXTERNAL_TYPE!>object<!> : EC1() {}