Files
kotlin/idea/testData/decompiler/decompiledTextJs/TestPackage/TestPackage.kt
Alexander Udalov b5fef84e9c 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
2017-01-30 11:31:02 +03:00

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