Add separate diagnostic renderer results for tests with NI

This commit is contained in:
Mikhail Zarechenskiy
2017-11-07 02:05:39 +03:00
parent 8757298994
commit 328c67b9e8
106 changed files with 1358 additions and 0 deletions
@@ -1,4 +1,5 @@
// !WITH_NEW_INFERENCE
// NI_EXPECTED_FILE
val flag = true
// type of a was checked by txt
@@ -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