[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
class A() {
|
||||
override fun equals(other : Any?) : Boolean = false
|
||||
}
|
||||
|
||||
fun f(): Unit {
|
||||
var x: Int? = 1
|
||||
x = null
|
||||
x + 1
|
||||
x plus 1
|
||||
x < 1
|
||||
x += 1
|
||||
|
||||
x == 1
|
||||
x != 1
|
||||
|
||||
A() == 1
|
||||
|
||||
x === "1"
|
||||
x !== "1"
|
||||
|
||||
x === 1
|
||||
x !== 1
|
||||
|
||||
x<!UNRESOLVED_REFERENCE!>..<!>2
|
||||
x in 1..2
|
||||
|
||||
val y : Boolean? = true
|
||||
false || y
|
||||
y && true
|
||||
y && 1
|
||||
}
|
||||
Reference in New Issue
Block a user