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:
Alexander Udalov
2017-01-25 16:46:56 +03:00
parent 805e3e4d0f
commit b5fef84e9c
17 changed files with 108 additions and 31 deletions
@@ -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() {
}
}