KT-5287 J2K: Convert class with private constructor and static functions to "object" instead of class with "class object"
#KT-5287 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
open class Base {
|
||||
companion object {
|
||||
public val CONSTANT: Int = 10
|
||||
}
|
||||
}
|
||||
|
||||
class Derived : Base() {
|
||||
fun foo() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user