Files
kotlin-fork/idea/testData/checker/regression/Jet69.jet
T
2011-06-01 15:25:11 +04:00

11 lines
255 B
Plaintext

class Command() {}
fun parse(cmd: String): Command? { return null }
fun Any.equals(other : Any?) : Boolean = this === other
fun main(args: Array<String>) {
val command = parse("")
if (command == null) 1 // error on this line, but must be OK
}