mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +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
14 lines
145 B
Kotlin
Vendored
14 lines
145 B
Kotlin
Vendored
package test
|
|
|
|
fun f() {}
|
|
val p = 3
|
|
private var i = 2
|
|
|
|
fun Int.plus(i: Int = 1) = this + i
|
|
|
|
class Class {
|
|
class Nested
|
|
}
|
|
|
|
interface Interface
|