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,8 +1,6 @@
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
class Library {
|
||||
companion object {
|
||||
val ourOut: java.io.PrintStream
|
||||
}
|
||||
object Library {
|
||||
val ourOut: java.io.PrintStream
|
||||
}
|
||||
|
||||
class User {
|
||||
|
||||
Reference in New Issue
Block a user