839026b6fe
Order is following: - declared declarations in declaration (in source) order - generated declarations in sorted order
54 lines
526 B
Kotlin
Vendored
54 lines
526 B
Kotlin
Vendored
package test
|
|
|
|
class A {
|
|
constructor() /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
constructor(x: Int) {
|
|
this/*A*/()
|
|
}
|
|
|
|
fun b() {
|
|
}
|
|
|
|
fun a() {
|
|
}
|
|
|
|
val b: Int
|
|
field = 1
|
|
get
|
|
|
|
val a: Int
|
|
field = 2
|
|
get
|
|
|
|
constructor(x: String) {
|
|
this/*A*/()
|
|
}
|
|
|
|
val Int.b: String
|
|
get(): String {
|
|
return "b"
|
|
}
|
|
|
|
fun String.b() {
|
|
}
|
|
|
|
val Int.a: String
|
|
get(): String {
|
|
return "a"
|
|
}
|
|
|
|
fun String.a() {
|
|
}
|
|
|
|
constructor(x: Double) {
|
|
this/*A*/()
|
|
}
|
|
|
|
}
|
|
|