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:
@@ -1,12 +1,9 @@
|
||||
class Outer {
|
||||
object Outer {
|
||||
public var o: Any? = Object()
|
||||
|
||||
public class Nested {
|
||||
public fun foo() {
|
||||
o = null
|
||||
}
|
||||
}
|
||||
|
||||
companion object {
|
||||
public var o: Any? = Object()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user