[FE 1.0] Update test data with new error type representation
This commit is contained in:
committed by
teamcity
parent
b5933c70e2
commit
27fa632630
Vendored
+1
-1
@@ -3,5 +3,5 @@ package
|
||||
package f {
|
||||
public fun </*0*/ R> h(/*0*/ a: kotlin.Any, /*1*/ i: kotlin.Int, /*2*/ r: R, /*3*/ f: (kotlin.Boolean) -> kotlin.Int): kotlin.Int
|
||||
public fun </*0*/ R> h(/*0*/ i: kotlin.Int, /*1*/ a: kotlin.Any, /*2*/ r: R, /*3*/ f: (kotlin.Boolean) -> kotlin.Int): kotlin.Int
|
||||
public fun test(): [ERROR : Error function type]
|
||||
public fun test(): [Error type: Return type for function cannot be resolved]
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -4,5 +4,5 @@ package f {
|
||||
public fun getAnswer(): kotlin.Int
|
||||
public fun </*0*/ R> h(/*0*/ f: (kotlin.Boolean) -> R): kotlin.Int
|
||||
public fun </*0*/ R> h(/*0*/ f: (kotlin.String) -> R): kotlin.Int
|
||||
public fun test(): [ERROR : Error function type]
|
||||
public fun test(): [Error type: Return type for function cannot be resolved]
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ interface Foo<F> {
|
||||
fun <S> select(vararg args: S): S = TODO()
|
||||
|
||||
class Bar<B : <!CYCLIC_GENERIC_UPPER_BOUND!>B<!>> : Foo<B> {
|
||||
val v = <!DEBUG_INFO_EXPRESSION_TYPE("[ERROR : from type constructor([ERROR : Cyclic upper bounds])]")!>select(
|
||||
val v = <!DEBUG_INFO_EXPRESSION_TYPE("[Error type: Resolution error type (from type constructor [Error type: Cyclic upper bounds])]")!>select(
|
||||
<!DEBUG_INFO_LEAKING_THIS!>getSum<!>(),
|
||||
42
|
||||
)<!>
|
||||
|
||||
Vendored
+3
-3
@@ -2,9 +2,9 @@ package
|
||||
|
||||
public fun </*0*/ S> select(/*0*/ vararg args: S /*kotlin.Array<out S>*/): S
|
||||
|
||||
public final class Bar</*0*/ B : [ERROR : Cyclic upper bounds]> : Foo<B> {
|
||||
public constructor Bar</*0*/ B : [ERROR : Cyclic upper bounds]>()
|
||||
public final val v: [ERROR : from type constructor([ERROR : Cyclic upper bounds])]
|
||||
public final class Bar</*0*/ B : [Error type: Cyclic upper bounds]> : Foo<B> {
|
||||
public constructor Bar</*0*/ B : [Error type: Cyclic upper bounds]>()
|
||||
public final val v: [Error type: Resolution error type (from type constructor [Error type: Cyclic upper bounds])]
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun getSum(): B
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Vendored
+5
-5
@@ -184,7 +184,7 @@ fun main() {
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("(kotlin.Number) -> java.io.Serializable")!>select(A3(), { <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Number")!>it<!> }, { a -> <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Number")!>a<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction<kotlin.Any>")!>select(A3(), <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>)<!>
|
||||
// Should be error as `A3::foo1` is `KFunction2`, but the remaining arguments are `KFuncion1` or `Function1`
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(A3(), <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>, { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>a<!> }, { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(A3(), <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>, { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>a<!> }, { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>it<!> })<!>
|
||||
// It's OK because `A3::foo2` is from companion of `A3`
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("(kotlin.Int) -> kotlin.Any")!>select(A3(), <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction1<kotlin.Int, kotlin.Unit>")!>A3::foo2<!>, { a -> <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int")!>a<!> }, { it -> <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("(kotlin.Int) -> {Comparable<*> & java.io.Serializable}")!>select(A4(), { x: Number -> "" })<!>
|
||||
@@ -192,10 +192,10 @@ fun main() {
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("(kotlin.Int, kotlin.String, kotlin.Float) -> kotlin.Float")!>select(A2(), id { a, b, c -> <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int")!>a<!>; <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.String")!>b<!>; <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Float")!>c<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("(kotlin.Number) -> java.io.Serializable")!>select(id(A3()), { <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Number")!>it<!> }, { a -> <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Number")!>a<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction<kotlin.Any>")!>select(A3(), id(<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>))<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(A3(), <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>, id { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>a<!> }, { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(A3(), <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>, { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>a<!> }, id { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(id(A3()), id(<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>), { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>a<!> }, { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(id(A3()), id(<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>), { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>a<!> }, id { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : <Unknown lambda parameter type>]")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(A3(), <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>, id { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>a<!> }, { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(A3(), <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>, { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>a<!> }, id { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(id(A3()), id(<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>), { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>a<!> }, { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>it<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(id(A3()), id(<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>), { <!CANNOT_INFER_PARAMETER_TYPE!>a<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>a<!> }, id { <!CANNOT_INFER_PARAMETER_TYPE!>it<!> -> <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Cannot infer a lambda parameter type]")!>it<!> })<!>
|
||||
// If lambdas' parameters are specified explicitly, we don't report an error, because there is proper CST – Function<Unit>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(id(A3()), id(<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>), { a: Number -> <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Number")!>a<!> })<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Function<kotlin.Any>")!>select(id(A3()), id(<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.reflect.KFunction2<A3, kotlin.Int, kotlin.Unit>")!>A3::foo1<!>), id { a: Number -> <!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Number")!>a<!> })<!>
|
||||
|
||||
+2
-2
@@ -4,13 +4,13 @@ fun <T> select(vararg x: T) = x[0]
|
||||
fun <K> id(x: K) = x
|
||||
|
||||
fun main() {
|
||||
val x1 = select<Any?>(id { <!CANNOT_INFER_PARAMETER_TYPE!>x<!>, <!CANNOT_INFER_PARAMETER_TYPE!>y<!> -> }, { x: Int, <!CANNOT_INFER_PARAMETER_TYPE!>y<!> -> })
|
||||
val x1 = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>select<!><Any?>(id { <!CANNOT_INFER_PARAMETER_TYPE!>x<!>, <!CANNOT_INFER_PARAMETER_TYPE!>y<!> -> }, { x: Int, <!CANNOT_INFER_PARAMETER_TYPE!>y<!> -> })
|
||||
val x2 = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>select<!>(<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>id<!> { x, <!CANNOT_INFER_PARAMETER_TYPE!>y<!> -> }, { x: Int, <!CANNOT_INFER_PARAMETER_TYPE!>y<!> -> })
|
||||
|
||||
val x3 = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>select<!>(<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>id<!>(fun (x, <!CANNOT_INFER_PARAMETER_TYPE!>y<!>) {}), fun (x: Int, <!CANNOT_INFER_PARAMETER_TYPE!>y<!>) {})
|
||||
|
||||
val x4 = select<Any?>((fun (<!CANNOT_INFER_PARAMETER_TYPE!>x<!>, <!CANNOT_INFER_PARAMETER_TYPE!>y<!>) {}), fun (x: Int, <!CANNOT_INFER_PARAMETER_TYPE!>y<!>) {})
|
||||
val x5 = select<Any?>(id(fun (<!CANNOT_INFER_PARAMETER_TYPE!>x<!>, <!CANNOT_INFER_PARAMETER_TYPE!>y<!>) {}), fun (x: Int, <!CANNOT_INFER_PARAMETER_TYPE!>y<!>) {})
|
||||
val x5 = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>select<!><Any?>(id(fun (<!CANNOT_INFER_PARAMETER_TYPE!>x<!>, <!CANNOT_INFER_PARAMETER_TYPE!>y<!>) {}), fun (x: Int, <!CANNOT_INFER_PARAMETER_TYPE!>y<!>) {})
|
||||
val x6 = id<Any?>(fun (<!CANNOT_INFER_PARAMETER_TYPE!>x<!>) {})
|
||||
|
||||
select<Any?>(fun (<!CANNOT_INFER_PARAMETER_TYPE!>x<!>) {}, fun (<!CANNOT_INFER_PARAMETER_TYPE!>x<!>) {})
|
||||
|
||||
Vendored
+2
-2
@@ -150,8 +150,8 @@ public final class Main</*0*/ L> {
|
||||
public final val x164: Bar<L & Any>
|
||||
public final val x170: Bar<L>
|
||||
public final val x171: Bar<L>
|
||||
public final val x180: [ERROR : <ERROR FUNCTION RETURN TYPE>]
|
||||
public final val x181: [ERROR : <ERROR FUNCTION RETURN TYPE>]
|
||||
public final val x180: [Error type: Return type for function cannot be resolved]
|
||||
public final val x181: [Error type: Return type for function cannot be resolved]
|
||||
public final val x20: Foo<Bar<L>>
|
||||
public final val x200: L
|
||||
public final val x201: L
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ e: [ERROR : ErrorType]): kotlin.Unit
|
||||
public fun test(/*0*/ e: [Error type: Unresolved type for ErrorType]): kotlin.Unit
|
||||
|
||||
public open class Foo {
|
||||
public constructor Foo()
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package
|
||||
|
||||
public val </*0*/ T> abc: [ERROR : No type, no body]
|
||||
public val </*0*/ T> abc: [Error type: Return type for property abc cannot be resolved]
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ fun test() {
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("In<Bound1>")!>testIn()<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("Out<Bound1>")!>testOut()<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("BiParam<Bound1, Inv<*>>")!>testStarProjection()<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("[ERROR : Error function type]")!>testErrorType()<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("[Error type: Return type for function cannot be resolved]")!>testErrorType()<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("Inv<in Bound1>")!>testInProjection()<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("Inv<out Bound1>")!>testOutProjection()<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("Inv<Inv<Inv<Bound1>>>")!>testDeeplyNested()<!>
|
||||
|
||||
Vendored
+1
-1
@@ -6,7 +6,7 @@ public fun </*0*/ O> makeOutProjection(/*0*/ arg: O): Inv<out O>
|
||||
public fun makeStarProjection(): Inv<*>
|
||||
public fun test(): kotlin.Unit
|
||||
public fun testDeeplyNested(): Inv<Inv<Inv<Bound1>>>
|
||||
public fun testErrorType(): [ERROR : Error function type]
|
||||
public fun testErrorType(): [Error type: Return type for function cannot be resolved]
|
||||
public fun testIn(): In<Bound1>
|
||||
public fun testInProjection(): Inv<in Bound1>
|
||||
public fun testInv(): Inv<Bound1>
|
||||
|
||||
+1
-1
@@ -6,5 +6,5 @@ interface BodySpec<B, S : BodySpec<B, S>> {
|
||||
|
||||
fun test(b: BodySpec<String, *>) {
|
||||
val x = b.<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>isEqualTo<!>("")
|
||||
<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[ERROR : Type for b.isEqualTo("")]")!>x<!>
|
||||
<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Not found recorded type for b.isEqualTo("")]")!>x<!>
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
public val foo1: MyClass.MyObject
|
||||
public val foo2: [ERROR : Type for MyClass<Boolean>.MyObject]
|
||||
public val foo2: [Error type: Not found recorded type for MyClass<Boolean>.MyObject]
|
||||
|
||||
public open class MyClass</*0*/ T> {
|
||||
public constructor MyClass</*0*/ T>()
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package
|
||||
public final class B {
|
||||
public constructor B()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public final fun getA(): [ERROR : Error function type]
|
||||
public final fun getA(): [Error type: Return type for function cannot be resolved]
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package aa {
|
||||
public fun bar(/*0*/ f: ([ERROR : A]) -> kotlin.Unit): kotlin.Unit
|
||||
public fun bar(/*0*/ f: ([Error type: Unresolved type for A]) -> kotlin.Unit): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> foo(/*0*/ block: (T) -> R): (T) -> R
|
||||
public fun test1(): kotlin.Unit
|
||||
public fun test2(): kotlin.Unit
|
||||
|
||||
+12
-11
@@ -2,10 +2,10 @@ package
|
||||
|
||||
public fun </*0*/ _> bar(): Foo<_>
|
||||
public fun </*0*/ K, /*1*/ T> foo(/*0*/ x: (K) -> T): kotlin.Pair<K, T>
|
||||
public fun foo1(/*0*/ x: [ERROR : _]): kotlin.Unit
|
||||
public fun foo2(/*0*/ x: Foo<[ERROR : _]>): kotlin.Unit
|
||||
public fun foo3(): [ERROR : _]
|
||||
public fun foo5(): Foo<[ERROR : _]>
|
||||
public fun foo1(/*0*/ x: [Error type: Unresolved type for _]): kotlin.Unit
|
||||
public fun foo2(/*0*/ x: Foo<[Error type: Unresolved type for _]>): kotlin.Unit
|
||||
public fun foo3(): [Error type: Unresolved type for _]
|
||||
public fun foo5(): Foo<[Error type: Unresolved type for _]>
|
||||
public fun </*0*/ K, /*1*/ _> foo6(): Foo<_>
|
||||
public fun </*0*/ K : _, /*1*/ _> foo7(): Foo<_>
|
||||
public fun test(): kotlin.Unit
|
||||
@@ -17,7 +17,7 @@ public final class AA1 {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public final class AA2 : Foo<[ERROR : _]> {
|
||||
public final class AA2 : Foo<[Error type: Unresolved type for _]> {
|
||||
public constructor AA2()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -39,8 +39,8 @@ public final class Bar0</*0*/ K> {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public final class Bar1</*0*/ K : Foo<[ERROR : _]>> {
|
||||
public constructor Bar1</*0*/ K : Foo<[ERROR : _]>>()
|
||||
public final class Bar1</*0*/ K : Foo<[Error type: Unresolved type for _]>> {
|
||||
public constructor Bar1</*0*/ K : Foo<[Error type: Unresolved type for _]>>()
|
||||
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
|
||||
@@ -74,7 +74,8 @@ public final class Foo</*0*/ K> {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
public typealias A1</*0*/ _> = _
|
||||
public typealias A2</*0*/ T> = Foo<[ERROR : _]>
|
||||
public typealias A3</*0*/ T> = ([ERROR : _]) -> T
|
||||
public typealias A4</*0*/ T> = (T) -> () -> [ERROR : _]
|
||||
public typealias A5</*0*/ T> = (T) -> ([ERROR : _]) -> T
|
||||
public typealias A2</*0*/ T> = Foo<[Error type: Unresolved type for _]>
|
||||
public typealias A3</*0*/ T> = ([Error type: Unresolved type for _]) -> T
|
||||
public typealias A4</*0*/ T> = (T) -> () -> [Error type: Unresolved type for _]
|
||||
public typealias A5</*0*/ T> = (T) -> ([Error type: Unresolved type for _]) -> T
|
||||
|
||||
|
||||
Reference in New Issue
Block a user