Update tests on decompiled text for JS
Because .kjsm files now contain all declarations from the package (contrary to the JVM decompiler which produces one file for one class/package facade), some common decompiled text tests started to behave differently on JVM and JS. Update two of them (Modifiers, ClassWithClassObject) to make results the same, copy another (TypeAliases) to JVM-/JS-specific tests with different outputs
This commit is contained in:
@@ -5,9 +5,9 @@ package test
|
||||
|
||||
public final class ClassWithClassObject public constructor() {
|
||||
public companion object {
|
||||
public final val a: test.A /* compiled code */
|
||||
public final val a: test.ClassWithClassObject.A /* compiled code */
|
||||
|
||||
public final var b: test.B /* compiled code */
|
||||
public final var b: test.ClassWithClassObject.B /* compiled code */
|
||||
|
||||
public final val kotlin.Int.g: kotlin.Int /* compiled code */
|
||||
|
||||
@@ -21,4 +21,10 @@ public final class ClassWithClassObject public constructor() {
|
||||
}
|
||||
|
||||
public final fun f(): kotlin.Unit { /* compiled code */ }
|
||||
|
||||
public final class A public constructor() {
|
||||
}
|
||||
|
||||
public final class B public constructor() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user