mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 08:31:35 +00:00
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
30 lines
939 B
Kotlin
Vendored
30 lines
939 B
Kotlin
Vendored
// IntelliJ API Decompiler stub source generated from a class file
|
|
// Implementation of methods is not available
|
|
|
|
package test
|
|
|
|
public final class ClassWithClassObject public constructor() {
|
|
public companion object {
|
|
public final val a: test.ClassWithClassObject.A /* compiled code */
|
|
|
|
public final var b: test.ClassWithClassObject.B /* compiled code */
|
|
|
|
public final val kotlin.Int.g: kotlin.Int /* compiled code */
|
|
|
|
public final fun <T, K, G> complexFun(a: T, b: K, c: G): G { /* compiled code */ }
|
|
|
|
public final fun f(): kotlin.Unit { /* compiled code */ }
|
|
|
|
private final fun privateFun(): kotlin.Unit { /* compiled code */ }
|
|
|
|
public final fun kotlin.Int.f(): kotlin.Unit { /* compiled code */ }
|
|
}
|
|
|
|
public final fun f(): kotlin.Unit { /* compiled code */ }
|
|
|
|
public final class A public constructor() {
|
|
}
|
|
|
|
public final class B public constructor() {
|
|
}
|
|
} |