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:
@@ -24,10 +24,8 @@ public class Test {
|
||||
}
|
||||
}
|
||||
|
||||
public class User {
|
||||
companion object {
|
||||
public fun main() {
|
||||
val t = Test("name")
|
||||
}
|
||||
public object User {
|
||||
public fun main() {
|
||||
val t = Test("name")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user