Infix calls and nullable receivers
This commit is contained in:
@@ -32,7 +32,7 @@ fun f(): Unit {
|
||||
x !== 1
|
||||
|
||||
x<error>..</error>2
|
||||
x <error>in</error> 1..2
|
||||
<error>x</error> in 1..2
|
||||
|
||||
val y : Boolean? = true
|
||||
false || <error>y</error>
|
||||
|
||||
@@ -4,6 +4,6 @@ fun main(args: Array<String>) {
|
||||
|
||||
val command : Any = 1
|
||||
|
||||
command<warning>?.<?warning>equals(null)
|
||||
command<warning>?.</warning>equals(null)
|
||||
command.equals(null)
|
||||
}
|
||||
Reference in New Issue
Block a user