Files
kotlin-fork/j2k/testData/fileOrElement/callChainExpression/libraryFieldCall.kt
T
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00

12 lines
209 B
Kotlin

// ERROR: Property must be initialized or be abstract
class Library {
default object {
val ourOut: java.io.PrintStream
}
}
class User {
fun main() {
Library.ourOut.print(1)
}
}