Add separate diagnostic renderer results for tests with NI
This commit is contained in:
+1
@@ -1,4 +1,5 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// NI_EXPECTED_FILE
|
||||
val <!NI;IMPLICIT_NOTHING_PROPERTY_TYPE!>x<!> get() = <!OI;TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>foo<!>()
|
||||
val y get() = <!OI;TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>bar<!>()
|
||||
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package
|
||||
|
||||
public val x: kotlin.Nothing
|
||||
public val y: kotlin.collections.List<kotlin.Nothing>
|
||||
public fun </*0*/ E> bar(): kotlin.collections.List<E>
|
||||
public fun </*0*/ E> foo(): E
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// !CHECK_TYPE
|
||||
// NI_EXPECTED_FILE
|
||||
|
||||
val x get() = <!NI;DEBUG_INFO_MISSING_UNRESOLVED, TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>x<!>
|
||||
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package
|
||||
|
||||
public val x: [ERROR : Error function type]
|
||||
public fun </*0*/ E> id(/*0*/ x: E): E
|
||||
public fun </*0*/ E> l(/*0*/ x: E): kotlin.collections.List<E>
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
public final val a: [ERROR : Error function type]
|
||||
public final val b: [ERROR : Error function type]
|
||||
public final val u: [ERROR : Error function type]
|
||||
public final val y: [ERROR : Error function type]
|
||||
public final val z1: kotlin.Nothing
|
||||
public final val z2: kotlin.collections.List<kotlin.Nothing>
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// !LANGUAGE: -ShortSyntaxForPropertyGetters
|
||||
// NI_EXPECTED_FILE
|
||||
|
||||
// blockBodyGetter.kt
|
||||
<!UNSUPPORTED_FEATURE!>val x get() {
|
||||
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package
|
||||
|
||||
public val u: kotlin.String
|
||||
public val x: [ERROR : No type, no body]
|
||||
public val x1: kotlin.Nothing
|
||||
public val x2: kotlin.String
|
||||
public var x3: kotlin.Int
|
||||
public val x4: [ERROR : Error function type]
|
||||
public val x5: kotlin.Nothing?
|
||||
public val y1: kotlin.collections.List<kotlin.Nothing>
|
||||
public val y2: kotlin.collections.List<kotlin.Int>
|
||||
public val y5: kotlin.Nothing
|
||||
public val z2: kotlin.collections.List<kotlin.Int>
|
||||
public fun </*0*/ E> bar(): kotlin.collections.List<E>
|
||||
public fun </*0*/ E> foo(): E
|
||||
public fun </*0*/ E> id(/*0*/ x: E): E
|
||||
public fun </*0*/ E> l(/*0*/ x: E): kotlin.collections.List<E>
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
public final val x: kotlin.Int
|
||||
public final val y: kotlin.Int
|
||||
public final val y2: kotlin.Int
|
||||
public final val z: kotlin.collections.List<kotlin.String>
|
||||
public final val z2: kotlin.collections.List<kotlin.collections.List<kotlin.String>>
|
||||
public final val </*0*/ T> T.u: T
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public object Outer {
|
||||
private constructor Outer()
|
||||
private final var x: Outer.<get-x>.<no name provided>
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user