3d8d92c7d3
- test data files renamed from *.jet to *.kt
11 lines
278 B
Kotlin
11 lines
278 B
Kotlin
class Command() {}
|
|
|
|
fun parse(<!UNUSED_PARAMETER!>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
|
|
}
|