704b3bd2e6
As fqNames of some symbols may change during conversion E.g, when moving Java static method to Kotlin companion object #KT-19607 fixed #KT-32903 fixed #KT-33743 fixed #KT-33556 fixed
17 lines
240 B
Kotlin
Vendored
17 lines
240 B
Kotlin
Vendored
class Rectangle {
|
|
var y = 0
|
|
|
|
companion object {
|
|
var x = 0
|
|
}
|
|
}
|
|
|
|
object Main {
|
|
@JvmStatic
|
|
fun main(args: Array<String>) {
|
|
val rectangle = Rectangle()
|
|
Rectangle.x = 1
|
|
rectangle.y = 2
|
|
}
|
|
}
|