Add separate diagnostic renderer results for tests with NI
This commit is contained in:
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// NI_EXPECTED_FILE
|
||||
val flag = true
|
||||
|
||||
// type of a was checked by txt
|
||||
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package
|
||||
|
||||
public val a: kotlin.Unit
|
||||
public val b: kotlin.Unit
|
||||
public val c: kotlin.Any
|
||||
public val flag: kotlin.Boolean = true
|
||||
@@ -1,4 +1,5 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// NI_EXPECTED_FILE
|
||||
// KT-6822 Smart cast doesn't work inside local returned expression in lambda
|
||||
|
||||
val a /* :(Int?) -> Int? */ = l@ { it: Int? -> // but must be (Int?) -> Int
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package
|
||||
|
||||
public val a: (kotlin.Int?) -> kotlin.Int?
|
||||
public val b: kotlin.Int
|
||||
public val c: kotlin.Int
|
||||
public fun </*0*/ R> let(/*0*/ f: (kotlin.Int?) -> R): R
|
||||
Reference in New Issue
Block a user