[FE 1.0] Update test data with new error type representation

This commit is contained in:
Victor Petukhov
2022-03-17 13:34:01 +04:00
committed by teamcity
parent b5933c70e2
commit 27fa632630
285 changed files with 777 additions and 744 deletions
@@ -1,6 +1,6 @@
KtNamedClassOrObjectSymbol:
annotationsList: [
<ERROR CLASS>()
<Error class: unknown class>()
psi: KtAnnotationEntry
]
classIdIfNonLocal: foo/MyClass
@@ -1,6 +1,6 @@
KtNamedClassOrObjectSymbol:
annotationsList: [
<ERROR CLASS>()
<Error class: unknown class>()
psi: KtAnnotationEntry
]
classIdIfNonLocal: test/WithGeneratedCompanion
@@ -129,7 +129,7 @@ class DoubleColonExpressionResolver(
}
}
return createTypeInfo(ErrorUtils.createErrorType(ErrorTypeKind.UNRESOLVED_CLASS_TYPE, expression.toString()), c)
return createTypeInfo(ErrorUtils.createErrorType(ErrorTypeKind.UNRESOLVED_CLASS_TYPE, expression.text), c)
}
private fun checkClassLiteral(
@@ -2,7 +2,7 @@
val s = mutableListOf<String>()
---------------------
mutableListOf !<v0>: *
mutableListOf<String>() <v1>: {<: [ERROR : Type for mutableListOf<String>()]} NEW: magic[UNRESOLVED_CALL](mutableListOf<String>()|!<v0>) -> <v1>
mutableListOf<String>() <v1>: {<: [Error type: Not found recorded type for mutableListOf<String>()]} NEW: magic[UNRESOLVED_CALL](mutableListOf<String>()|!<v0>) -> <v1>
=====================
== test ==
fun test(name: String?, flag: Boolean): Boolean {
@@ -2,7 +2,7 @@
val s = mutableListOf<String>()
---------------------
mutableListOf !<v0>: *
mutableListOf<String>() <v1>: {<: [ERROR : Type for mutableListOf<String>()]} NEW: magic[UNRESOLVED_CALL](mutableListOf<String>()|!<v0>) -> <v1>
mutableListOf<String>() <v1>: {<: [Error type: Not found recorded type for mutableListOf<String>()]} NEW: magic[UNRESOLVED_CALL](mutableListOf<String>()|!<v0>) -> <v1>
=====================
== test ==
fun test(name: String?, flag: Boolean): Boolean {
@@ -24,8 +24,8 @@ object C {
operator fun X.invoke() = println("Hello!")
---------------------
println !<v1>: *
"Hello!" <v0>: * NEW: r("Hello!") -> <v0>
println("Hello!") <v2>: {<: [ERROR : Error function type]} NEW: magic[UNRESOLVED_CALL](println("Hello!")|<v0>, !<v1>) -> <v2>
"Hello!" <v0>: * NEW: r("Hello!") -> <v0>
println("Hello!") <v2>: {<: [Error type: Return type for function cannot be resolved]} NEW: magic[UNRESOLVED_CALL](println("Hello!")|<v0>, !<v1>) -> <v2>
=====================
== with ==
inline fun <T, R> with(receiver: T, block: T.() -> R): R = receiver.block()
@@ -44,9 +44,9 @@ fun use() = with(C) {
}
}
---------------------
C <v0>: C NEW: r(C) -> <v0>
{ with(B) { A.foo() } } <v1>: {<: C.() -> ???} NEW: r({ with(B) { A.foo() } }) -> <v1>
with(C) { with(B) { A.foo() } } <v2>: {<: [ERROR : Error function type]} NEW: call(with(C) { with(B) { A.foo() } }, with|<v0>, <v1>) -> <v2>
C <v0>: C NEW: r(C) -> <v0>
{ with(B) { A.foo() } } <v1>: {<: C.() -> ???} NEW: r({ with(B) { A.foo() } }) -> <v1>
with(C) { with(B) { A.foo() } } <v2>: {<: [Error type: Return type for function cannot be resolved]} NEW: call(with(C) { with(B) { A.foo() } }, with|<v0>, <v1>) -> <v2>
=====================
== anonymous_0 ==
{
@@ -4,10 +4,10 @@ fun foo(x: Int) {
a
}
---------------------
<v0>: Int NEW: magic[FAKE_INITIALIZER](x: Int) -> <v0>
<v2>: {<: [ERROR : component1() return type]} NEW: magic[UNRESOLVED_CALL](a|<v1>) -> <v2>
<v3>: {<: [ERROR : component2() return type]} NEW: magic[UNRESOLVED_CALL](b|<v1>) -> <v3>
x <v1>: * NEW: r(x) -> <v1>
a <v4>: * NEW: r(a) -> <v4>
{ val (a, b) = x a } <v4>: * COPY
<v0>: Int NEW: magic[FAKE_INITIALIZER](x: Int) -> <v0>
<v2>: {<: [Error type: component1() return type]} NEW: magic[UNRESOLVED_CALL](a|<v1>) -> <v2>
<v3>: {<: [Error type: component2() return type]} NEW: magic[UNRESOLVED_CALL](b|<v1>) -> <v3>
x <v1>: * NEW: r(x) -> <v1>
a <v4>: * NEW: r(a) -> <v4>
{ val (a, b) = x a } <v4>: * COPY
=====================
+6 -6
View File
@@ -3,11 +3,11 @@ fun Int.bar(c: C) {
this = c
}
---------------------
<v0>: {<: [ERROR : C]} NEW: magic[FAKE_INITIALIZER](c: C) -> <v0>
<v2>: * NEW: magic[VALUE_CONSUMER](this|<v1>) -> <v2>
this <v1>: * COPY
this <v1>: * NEW: r(this, <this>) -> <v1>
c <v3>: * NEW: r(c) -> <v3>
<v0>: {<: [Error type: Unresolved type for C]} NEW: magic[FAKE_INITIALIZER](c: C) -> <v0>
<v2>: * NEW: magic[VALUE_CONSUMER](this|<v1>) -> <v2>
this <v1>: * COPY
this <v1>: * NEW: r(this, <this>) -> <v1>
c <v3>: * NEW: r(c) -> <v3>
this = c !<v4>: *
{ this = c } !<v4>: * COPY
{ this = c } !<v4>: * COPY
=====================
+1 -1
View File
@@ -433,7 +433,7 @@ public typealias ExceptionAlias = kotlin.Exception
public typealias IllegalStateExceptionAlias = kotlin.IllegalStateException
public typealias RuntimeExceptionAlias = kotlin.RuntimeException
public typealias ThrowableAlias = kotlin.Throwable
public typealias UEAlias = [ERROR : UE]
public typealias UEAlias = [Error type: Unresolved type for UE]
package kotlin {
+1 -1
View File
@@ -1,7 +1,7 @@
package
public interface T {
public open val a: [ERROR : <ERROR FUNCTION RETURN TYPE>]
public open val a: [Error type: Return type for function cannot be resolved]
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
@@ -36,8 +36,8 @@ public final class CustomDelegate3 {
public final class Example {
public constructor Example()
public final var a: [ERROR : Type from delegate]
public final val aval: [ERROR : Type from delegate]
public final var a: [Error type: Error delegation type for CustomDelegate()]
public final val aval: [Error type: Error delegation type for CustomDelegate()]
public final var b: kotlin.String
public final var c: kotlin.Int
public final var d: kotlin.Int
@@ -3,10 +3,10 @@ package
public val bar: (???) -> kotlin.Unit
public val la: (???) -> kotlin.Unit
public val las: (kotlin.Int) -> kotlin.Unit
public fun test(/*0*/ a: [ERROR : Type annotation was missing for parameter a], /*1*/ b: [ERROR : Type annotation was missing for parameter b], /*2*/ c: [ERROR : Type annotation was missing for parameter c]): kotlin.Unit
public fun test(/*0*/ a: [Error type: Missed a type for a value parameter a], /*1*/ b: [Error type: Missed a type for a value parameter b], /*2*/ c: [Error type: Missed a type for a value parameter c]): kotlin.Unit
public final class A {
public constructor A(/*0*/ a: [ERROR : Type annotation was missing for parameter a])
public constructor A(/*0*/ a: [Error type: Missed a type for a value parameter a])
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,6 +1,6 @@
package
public val a: [ERROR : Return not allowed]
public val a: [Error type: Return not allowed]
public fun bbb(): kotlin.Unit
public fun blockAndAndMismatch(): kotlin.Int
public fun blockAndAndMismatch1(): kotlin.Int
@@ -21,8 +21,8 @@ public final class B {
public final class C {
public constructor C()
public final val bar: [ERROR : <ERROR FUNCTION RETURN TYPE>]
public final val test: [ERROR : Type for bar()]
public final val bar: [Error type: Return type for function cannot be resolved]
public final val test: [Error type: Not found recorded type for bar()]
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
@@ -2,14 +2,14 @@ package
package foo {
public val f: () -> ???
public val s: [ERROR : Type for java]
public val ss: [ERROR : Type for System]
public val sss: [ERROR : Type for X]
public val s: [Error type: Not found recorded type for java]
public val ss: [Error type: Not found recorded type for System]
public val sss: [Error type: Not found recorded type for X]
public val x: kotlin.String
public val xs: [ERROR : Type for java.lang]
public val xss: [ERROR : Type for java.lang.System]
public val xsss: [ERROR : Type for foo.X]
public val xssss: [ERROR : Type for foo]
public val xs: [Error type: Not found recorded type for java.lang]
public val xss: [Error type: Not found recorded type for java.lang.System]
public val xsss: [Error type: Not found recorded type for foo.X]
public val xssss: [Error type: Not found recorded type for foo]
public fun main(): kotlin.Unit
public final class X {
@@ -1,3 +1,3 @@
package
@[ERROR : foo] /* annotation class not found */ public fun bar(/*0*/ p: [ERROR : foo]): [ERROR : foo]
@[Error type: Unresolved type for foo] /* annotation class not found */ public fun bar(/*0*/ p: [Error type: Unresolved type for foo]): [Error type: Unresolved type for foo]
+4 -4
View File
@@ -1,7 +1,7 @@
package
package foobar {
public val x1: [ERROR : <ERROR PROPERTY TYPE>]
public val x1: [Error type: Error property type]
public val x2: java.util.List<kotlin.Int>? = null
public val y1: kotlin.collections.List<kotlin.Int>? = null
public fun </*0*/ O> done(/*0*/ result: O): foobar.Iteratee<kotlin.Any?, O>
@@ -59,9 +59,9 @@ package foobar {
package foobar.a {
public val a: java.util.List<kotlin.Int>? = null
public val a2: [ERROR : util.List<Int>]<kotlin.Int>?
public val a3: [ERROR : LinkedList<Int>]<kotlin.Int>?
public val a2: [Error type: Unresolved type for util.List<Int>]<kotlin.Int>?
public val a3: [Error type: Unresolved type for LinkedList<Int>]<kotlin.Int>?
public val b: kotlin.collections.List<kotlin.Int>? = null
public val b1: [ERROR : util.List<Int>]<kotlin.Int>?
public val b1: [Error type: Unresolved type for util.List<Int>]<kotlin.Int>?
}
}
+4 -4
View File
@@ -37,12 +37,12 @@ public final class Test2</*0*/ A, /*1*/ B, /*2*/ C> {
public final class Test3</*0*/ in A, /*1*/ B, /*2*/ C> {
public constructor Test3</*0*/ in A, /*1*/ B, /*2*/ C>(/*0*/ foo: kotlin.Any?, /*1*/ bar: kotlin.Any?)
private final val bar: kotlin.Any
private final val bas: [ERROR : Type for bas()]
private final val bas: [Error type: Not found recorded type for bas()]
public final val bas2: kotlin.Int
public final val foo: kotlin.Any
public final fun bar(): kotlin.Int
public final fun bar(/*0*/ i: kotlin.Int): kotlin.Int
private final fun bar2(): [ERROR : Error function type]
private final fun bar2(): [Error type: Return type for function cannot be resolved]
private final fun bar2(/*0*/ i: kotlin.Int): kotlin.Int
private final fun bas(): kotlin.Int
private final fun bas2(): kotlin.Int
@@ -54,12 +54,12 @@ public final class Test3</*0*/ in A, /*1*/ B, /*2*/ C> {
public final class Test4</*0*/ A, /*1*/ out B, /*2*/ C> {
public constructor Test4</*0*/ A, /*1*/ out B, /*2*/ C>(/*0*/ foo: kotlin.Any?, /*1*/ bar: kotlin.Any?)
private final val bar: kotlin.Any
private final val bas: [ERROR : Type for bas()]
private final val bas: [Error type: Not found recorded type for bas()]
public final val bas2: kotlin.Int
public final val foo: kotlin.Any
public final fun bar(): kotlin.Int
public final fun bar(/*0*/ i: kotlin.Int): kotlin.Int
private final fun bar2(): [ERROR : Error function type]
private final fun bar2(): [Error type: Return type for function cannot be resolved]
private final fun bar2(/*0*/ i: kotlin.Int): kotlin.Int
private final fun bas(): kotlin.Int
private final fun bas2(): kotlin.Int
@@ -1,19 +1,19 @@
package
package a {
public val foo: [ERROR : Error function type]
public fun bar(): [ERROR : Error function type]
public val foo: [Error type: Return type for function cannot be resolved]
public fun bar(): [Error type: Return type for function cannot be resolved]
}
package b {
public fun bar(): [ERROR : Error function type]
public fun foo(): [ERROR : Error function type]
public fun bar(): [Error type: Return type for function cannot be resolved]
public fun foo(): [Error type: Return type for function cannot be resolved]
}
package c {
public fun bar(): [ERROR : Error function type]
public fun bazz(): [ERROR : Error function type]
public fun foo(): [ERROR : Error function type]
public fun bar(): [Error type: Return type for function cannot be resolved]
public fun bazz(): [Error type: Return type for function cannot be resolved]
public fun foo(): [Error type: Return type for function cannot be resolved]
}
package ok {
@@ -2,4 +2,5 @@ package
@java.lang.Deprecated public fun a(): kotlin.Unit
@java.util.ArrayList<kotlin.Int> public fun b(): kotlin.Unit
@[ERROR : Xoo] /* annotation class not found */ public fun c(): kotlin.Unit
@[Error type: Unresolved type for Xoo] /* annotation class not found */ public fun c(): kotlin.Unit
@@ -1,6 +1,6 @@
package
@[ERROR : someErrorAnnotation] /* annotation class not found */ public object Test {
@[Error type: Unresolved type for someErrorAnnotation] /* annotation class not found */ public object Test {
private constructor Test()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -3,7 +3,7 @@ package
package test {
public val some: test.SomeObject
@[ERROR : BadAnnotation] /* annotation class not found */ public object SomeObject {
@[Error type: Unresolved type for BadAnnotation] /* annotation class not found */ public object SomeObject {
private constructor SomeObject()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -84,8 +84,8 @@ package test {
}
public final annotation class Ann9 : kotlin.Annotation {
public constructor Ann9(/*0*/ error: [ERROR : Unresolved] = ...)
public final val error: [ERROR : Unresolved]
public constructor Ann9(/*0*/ error: [Error type: Unresolved type for Unresolved] = ...)
public final val error: [Error type: Unresolved type for Unresolved]
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,11 +1,11 @@
package
@setparam:[ERROR : varargs] /* annotation class not found */ public var bar: kotlin.Int
@setparam:[Error type: Unresolved type for varargs] /* annotation class not found */ public var bar: kotlin.Int
public val x: (kotlin.Int) -> kotlin.Int
public fun foo(/*0*/ @[ERROR : varargs] /* annotation class not found */ f: kotlin.Int): kotlin.Unit
public fun foo(/*0*/ @[Error type: Unresolved type for varargs] /* annotation class not found */ f: kotlin.Int): kotlin.Unit
public final class Hello {
public constructor Hello(/*0*/ @[ERROR : varargs] /* annotation class not found */ args: kotlin.Any)
public constructor Hello(/*0*/ @[Error type: Unresolved type for varargs] /* annotation class not found */ args: kotlin.Any)
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,8 +1,8 @@
package
public final annotation class Ann : kotlin.Annotation {
public constructor Ann(/*0*/ x: kotlin.Int, /*1*/ `<no name provided>`: [ERROR : Type annotation was missing for parameter <no name provided>])
public final val `<no name provided>`: [ERROR : Annotation is absent]
public constructor Ann(/*0*/ x: kotlin.Int, /*1*/ `<no name provided>`: [Error type: Missed a type for a value parameter <no name provided>])
public final val `<no name provided>`: [Error type: No type specified for val]
public final val x: kotlin.Int
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -3,7 +3,7 @@ package
public final class Bar</*0*/ T : kotlin.Annotation> {
public constructor Bar</*0*/ T : kotlin.Annotation>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
@[ERROR : Not an annotation: T] /* annotation class not found */ public final fun foo(): kotlin.Int
@[Error type: Not an annotation type T in the annotation context] /* annotation class not found */ public final fun foo(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -11,7 +11,7 @@ public final class Bar</*0*/ T : kotlin.Annotation> {
public final class Foo</*0*/ T> {
public constructor Foo</*0*/ T>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
@[ERROR : Not an annotation: T] /* annotation class not found */ public final fun foo(): kotlin.Int
@[Error type: Not an annotation type T in the annotation context] /* annotation class not found */ public final fun foo(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -1,34 +1,34 @@
package
@[ERROR : Ann] /* annotation class not found */ public final class A {
@[Error type: Unresolved type for Ann] /* annotation class not found */ public final class A {
public constructor A()
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
}
@[ERROR : Ann] /* annotation class not found */ public final class B {
@[Error type: Unresolved type for Ann] /* annotation class not found */ public final class B {
public constructor B()
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
}
@[ERROR : Ann] /* annotation class not found */ public final class C {
@[Error type: Unresolved type for Ann] /* annotation class not found */ public final class C {
public constructor C()
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
}
@[ERROR : kotlin.Ann] /* annotation class not found */ public final class D {
@[Error type: Unresolved type for kotlin.Ann] /* annotation class not found */ public final class D {
public constructor D()
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
}
@[ERROR : kotlin.annotation.Ann] /* annotation class not found */ public final class E {
@[Error type: Unresolved type for kotlin.annotation.Ann] /* annotation class not found */ public final class E {
public constructor E()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -1,7 +1,7 @@
package
package bar {
public val prop: [ERROR : No type, no body]
public val prop: [Error type: Return type for property prop cannot be resolved]
public fun func(): kotlin.Unit
@bar.baz public final class C {
@@ -6,7 +6,7 @@ public final class Foo {
public constructor Foo()
public final fun bar(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun f(): [ERROR : Error function type]
public final fun f(): [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
}
@@ -24,10 +24,10 @@ package test {
public final fun </*0*/ T> kotlin.collections.List<T>.testClassLiteral1(): kotlin.reflect.KClass<out kotlin.Int>
public final fun </*0*/ T> kotlin.collections.List<T>.testClassLiteral2(): kotlin.reflect.KClass<out kotlin.Int?>
public final fun </*0*/ T> kotlin.collections.List<T>.testClassLiteral3(): kotlin.reflect.KClass<out kotlin.Int?>
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved1(): [ERROR : Error function type]
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved1(): [Error type: Return type for function cannot be resolved]
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved2(): kotlin.reflect.KFunction0<kotlin.Unit>
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved3(): kotlin.reflect.KFunction0<kotlin.Unit>
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved4(): [ERROR : Error function type]
public final fun </*0*/ T> kotlin.collections.List<T>.testUnresolved4(): [Error type: Return type for function cannot be resolved]
}
public final class a</*0*/ T> {
@@ -1,7 +1,7 @@
// -- Module: <m1> --
package
public fun </*0*/ T> bar(/*0*/ ff: [ERROR : Err].() -> kotlin.Unit): kotlin.Unit
public fun </*0*/ T> bar(/*0*/ ff: [Error type: Unresolved type for Err].() -> kotlin.Unit): kotlin.Unit
// -- Module: <m2> --
package
@@ -1,7 +1,7 @@
package
public val f: kotlin.reflect.KFunction1<test.Foo, kotlin.Unit>
public val g: [ERROR : Type for Foo::length]
public val g: [Error type: Not found recorded type for Foo::length]
public fun Foo(): kotlin.String
package test {
@@ -1,15 +1,15 @@
package
public fun </*0*/ U : kotlin.Any> bar(): [ERROR : Error function type]
public fun </*0*/ T> foo(): [ERROR : Error function type]
public fun </*0*/ U : kotlin.Any> bar(): [Error type: Return type for function cannot be resolved]
public fun </*0*/ T> foo(): [Error type: Return type for function cannot be resolved]
public fun take(/*0*/ arg: kotlin.Any): kotlin.Unit
public final class A</*0*/ T, /*1*/ U : kotlin.Any> {
public constructor A</*0*/ T, /*1*/ U : kotlin.Any>()
public final fun bar(): [ERROR : Error function type]
public final fun bar(): [Error type: Return type for function cannot be resolved]
public final fun baz(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(): [ERROR : Error function type]
public final fun foo(): [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,12 +1,12 @@
package
public fun foo(/*0*/ intDTO: DTO?, /*1*/ p: [ERROR : KProperty1<*, Int>]<out [ERROR : *], kotlin.Int>): kotlin.Unit
public fun foo(/*0*/ intDTO: DTO?, /*1*/ p: [Error type: Unresolved type for KProperty1<*, Int>]<out [Error type: Error type projection], kotlin.Int>): kotlin.Unit
public final class DTO {
public constructor DTO()
public final val q: kotlin.Int = 0
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final operator fun get(/*0*/ prop: [ERROR : KProperty1<*, Int>]<out [ERROR : *], kotlin.Int>): kotlin.Int
public final operator fun get(/*0*/ prop: [Error type: Unresolved type for KProperty1<*, Int>]<out [Error type: Error type projection], kotlin.Int>): kotlin.Int
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -1,8 +1,8 @@
package
public val ref1: [ERROR : Type for ::fun1]
public val ref2: [ERROR : Type for ::fun2]
public val ref3: [ERROR : Type for ::fun3]
public val ref1: [Error type: Not found recorded type for ::fun1]
public val ref2: [Error type: Not found recorded type for ::fun2]
public val ref3: [Error type: Not found recorded type for ::fun3]
public fun fun1(): kotlin.Unit
public fun fun1(/*0*/ x: kotlin.Int): kotlin.Unit
public fun fun2(/*0*/ x: kotlin.Int): kotlin.Unit
@@ -1,6 +1,6 @@
package
public val x1: [ERROR : Type for ::foo]
public val x1: [Error type: Not found recorded type for ::foo]
public val x2: () -> kotlin.Unit
public val x3: (kotlin.String) -> kotlin.Unit
public val x4: (kotlin.Int) -> kotlin.Unit
@@ -1,11 +1,11 @@
package
public val x0: [ERROR : Type for A::foo]
public val x0: [Error type: Not found recorded type for A::foo]
public val x1: (A) -> kotlin.Unit
public val x2: kotlin.reflect.KProperty1<A, kotlin.Int>
public val x3: kotlin.reflect.KProperty1<A, kotlin.Int>
public val x4: (A) -> kotlin.String
public val y0: [ERROR : Type for A::bar]
public val y0: [Error type: Not found recorded type for A::bar]
public val y1: (A) -> kotlin.Unit
public val y2: kotlin.reflect.KProperty1<A, kotlin.Int>
public val y3: kotlin.reflect.KProperty1<A, kotlin.Int>
@@ -2,7 +2,7 @@ package
public val x1: kotlin.Unit
public val x2: kotlin.Unit
public val x3: [ERROR : Type for apply(true, ::foo)]
public val x3: [Error type: Not found recorded type for apply(true, ::foo)]
public fun </*0*/ T, /*1*/ R> apply(/*0*/ x: T, /*1*/ f: (T) -> R): R
public fun foo(/*0*/ i: kotlin.Int): kotlin.Unit
public fun foo(/*0*/ s: kotlin.String): kotlin.Unit
@@ -3,8 +3,8 @@ package
public val x1: kotlin.String
public val x2: kotlin.String
public val x3: kotlin.String
public val x4: [ERROR : Type for fn2(::foo, ::bar)]
public val x5: [ERROR : Type for fn2(::foo, ::foo)]
public val x4: [Error type: Not found recorded type for fn2(::foo, ::bar)]
public val x5: [Error type: Not found recorded type for fn2(::foo, ::foo)]
public val x6: kotlin.Int
public fun bar(/*0*/ s: kotlin.String): kotlin.String
public fun fn1(/*0*/ x: kotlin.Int, /*1*/ f1: (kotlin.Int) -> kotlin.String, /*2*/ f2: (kotlin.String) -> kotlin.String): kotlin.String
@@ -1,6 +1,6 @@
package
public fun f(/*0*/ p: B<[ERROR : Foo]>): kotlin.Any
public fun f(/*0*/ p: B<[Error type: Unresolved type for Foo]>): kotlin.Any
public interface B</*0*/ T> {
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
@@ -1,6 +1,6 @@
package
public fun foo(/*0*/ p: [ERROR : P]): kotlin.Unit
public fun foo(/*0*/ p: [Error type: Unresolved type for P]): kotlin.Unit
public final class G</*0*/ T> {
public constructor G</*0*/ T>()
@@ -1,7 +1,7 @@
package
public val a01: kotlin.reflect.KClass<kotlin.Array<*>>
public val a02: kotlin.reflect.KClass<kotlin.Array<[ERROR : Array]>>
public val a02: kotlin.reflect.KClass<kotlin.Array<[Error type: Type for error type constructor (Array)]>>
public val a03: kotlin.reflect.KClass<kotlin.Array<kotlin.Any?>>
public val a04: kotlin.reflect.KClass<kotlin.Array<kotlin.Array<kotlin.Any?>?>>
public val a05: kotlin.reflect.KClass<kotlin.Array<kotlin.IntArray?>>
@@ -7,7 +7,7 @@ public val a4: kotlin.reflect.KClass<A<out kotlin.String?>>
public val b1: kotlin.reflect.KClass<kotlin.Int>
public val b2: kotlin.reflect.KClass<kotlin.Nothing>
public val i1: kotlin.reflect.KClass<A<*>.Inner<*>>
public val i2: [ERROR : Unresolved class]
public val i2: [Error type: Unresolved class A<*>.Inner<*>::class]
public val i3: kotlin.reflect.KClass<A<kotlin.Int>.Inner<kotlin.CharSequence>>
public val m1: kotlin.reflect.KClass<kotlin.collections.Map<*, *>>
public val m2: kotlin.reflect.KClass<kotlin.collections.Map<kotlin.Int, *>>
@@ -4,7 +4,7 @@ public val a1: kotlin.reflect.KClass<A?>
public val a2: kotlin.reflect.KClass<A?>
public val l1: kotlin.reflect.KClass<kotlin.collections.List<kotlin.String>?>
public val l2: kotlin.reflect.KClass<kotlin.collections.List<*>?>
public val m: [ERROR : Unresolved class]
public val m: [Error type: Unresolved class Map<String>::class]
public inline fun </*0*/ reified T : kotlin.Any> bar(): kotlin.Unit
public fun </*0*/ T : kotlin.Any> foo(): kotlin.Unit
@@ -1,4 +1,4 @@
package
public val g: [ERROR : Unresolved class]
public val u: [ERROR : Unresolved class]
public val g: [Error type: Unresolved class UnresolvedGeneric<UnresolvedTypeArg>::class]
public val u: [Error type: Unresolved class Unresolved::class]
@@ -9,7 +9,7 @@ public final class A {
public companion object Companion {
private constructor Companion()
public final val y: [ERROR : Type for x]
public final val y: [Error type: Not found recorded type for x]
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
@@ -2,9 +2,9 @@ package
package Jet86 {
public val a: kotlin.Int = 1
public val c: [ERROR : Type for B.x]
public val d: [ERROR : Type for b.x]
public val s: [ERROR : Type for System]
public val c: [Error type: Not found recorded type for B.x]
public val d: [Error type: Not found recorded type for b.x]
public val s: [Error type: Not found recorded type for System]
public fun test(): kotlin.Unit
public final class A {
@@ -9,7 +9,7 @@ package test {
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
public companion object Companion : test.ToResolve<[ERROR : P]> {
public companion object Companion : test.ToResolve<[Error type: Unresolved type for P]> {
private constructor Companion()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -11,7 +11,7 @@ package test {
public companion object Companion {
private constructor Companion()
public final val a: [ERROR : Type for test()]
public final val a: [Error type: Not found recorded type for test()]
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
@@ -3,8 +3,8 @@ package
package test {
public val prop1: kotlin.Int = 1
public val prop10: kotlin.Any = "a"
public val prop11: [ERROR : aaa]
public val prop14: [ERROR : aaa]?
public val prop11: [Error type: Unresolved type for aaa]
public val prop14: [Error type: Unresolved type for aaa]?
public val prop15: test.A
public val prop16: test.A? = 1
public val prop2: kotlin.Int? = 1
@@ -12,7 +12,7 @@ public final class My {
public companion object Companion {
private constructor Companion()
public final val u: kotlin.String
public final val y: [ERROR : Type for foo()]
public final val y: [Error type: Not found recorded type for foo()]
public final val z: kotlin.String?
public final fun bar(): kotlin.String
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
@@ -61,7 +61,7 @@ package uninitialized_reassigned_variables {
public final class ForwardAccessToBackingField {
public constructor ForwardAccessToBackingField()
public final val a: [ERROR : Type for a]
public final val a: [Error type: Not found recorded type for a]
public final val b: kotlin.Int = 1
public final val c: kotlin.Int = 1
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
@@ -1,7 +1,7 @@
package
private fun fClient(): HttpClientImpl
private fun </*0*/ T> lazy(/*0*/ init: () -> T): [ERROR : kotlin.Lazy<T>]<T>
private fun </*0*/ T> lazy(/*0*/ init: () -> T): [Error type: Unresolved type for kotlin.Lazy<T>]<T>
public object DefaultFqHttpClient : HttpClient {
private constructor DefaultFqHttpClient()
@@ -21,7 +21,7 @@ public object DefaultHttpClient : HttpClient {
public object DefaultHttpClientWithBy : HttpClient {
private constructor DefaultHttpClientWithBy()
public final val client: [ERROR : Type from delegate]
public final val client: [Error type: Error delegation type for lazy { HttpClientImpl() }]
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,6 +1,6 @@
package
public fun b(): kotlin.Boolean
public fun foo1(): [ERROR : Error function type]
public fun foo2(): [ERROR : Error function type]
public fun foo1(): [Error type: Return type for function cannot be resolved]
public fun foo2(): [Error type: Return type for function cannot be resolved]
public fun foo3(): kotlin.Int
@@ -1,7 +1,7 @@
package
package kt770_351_735 {
public val w: [ERROR : Type for while (true) {}]
public val w: [Error type: Not found recorded type for while (true) {}]
public fun bar(/*0*/ a: kotlin.Unit): kotlin.Unit
public fun box(): kotlin.Int
public fun doSmth(/*0*/ i: kotlin.Int): kotlin.Unit
@@ -2,7 +2,7 @@ package
package kt799 {
public val a: kotlin.Nothing
public val b: [ERROR : Return not allowed]
public val b: [Error type: Return not allowed]
public val c: kotlin.Unit
public fun doSmth(/*0*/ i: kotlin.Int): kotlin.Unit
public fun f(/*0*/ mi: kotlin.Int = ...): kotlin.Unit
@@ -8,7 +8,7 @@ public object WithFunctionInBase {
public final class C {
public constructor C()
public final val data: [ERROR : <ERROR CLASS: Data>]
public final val data: [Error type: Type for error type constructor (<Error class: Data>)]
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
@@ -16,7 +16,7 @@ public object WithFunctionInBase {
public open class Base {
public constructor Base()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(): [ERROR : <ERROR CLASS: Int>]
public final fun foo(): [Error type: Type for error type constructor (<Error class: Int>)]
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -24,7 +24,7 @@ public object WithFunctionInBase {
public companion object Companion : WithFunctionInBase.DerivedAbstract {
private constructor Companion()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final override /*1*/ /*fake_override*/ fun foo(): [ERROR : <ERROR CLASS: Int>]
public final override /*1*/ /*fake_override*/ fun foo(): [Error type: Type for error type constructor (<Error class: Int>)]
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -40,7 +40,7 @@ public object WithFunctionInBase {
public abstract class DerivedAbstract : WithFunctionInBase.C.Base {
public constructor DerivedAbstract()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final override /*1*/ /*fake_override*/ fun foo(): [ERROR : <ERROR CLASS: Int>]
public final override /*1*/ /*fake_override*/ fun foo(): [Error type: Type for error type constructor (<Error class: Int>)]
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -54,14 +54,14 @@ public object WithPropertyInBase {
public final class C {
public constructor C()
public final val data: [ERROR : <ERROR CLASS: Data>]
public final val data: [Error type: Type for error type constructor (<Error class: Data>)]
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 open class Base {
public constructor Base()
public final val foo: [ERROR : <ERROR CLASS: Int>]
public final val foo: [Error type: Type for error type constructor (<Error class: Int>)]
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
@@ -69,7 +69,7 @@ public object WithPropertyInBase {
public companion object Companion : WithPropertyInBase.DerivedAbstract {
private constructor Companion()
public final override /*1*/ /*fake_override*/ val foo: [ERROR : <ERROR CLASS: Int>]
public final override /*1*/ /*fake_override*/ val foo: [Error type: Type for error type constructor (<Error class: Int>)]
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
@@ -85,7 +85,7 @@ public object WithPropertyInBase {
public abstract class DerivedAbstract : WithPropertyInBase.C.Base {
public constructor DerivedAbstract()
public final override /*1*/ /*fake_override*/ val foo: [ERROR : <ERROR CLASS: Int>]
public final override /*1*/ /*fake_override*/ val foo: [Error type: Type for error type constructor (<Error class: Int>)]
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
@@ -107,7 +107,7 @@ public object WithPropertyInBaseDifferentOrder {
public open class Base {
public constructor Base()
public final val foo: [ERROR : Int]
public final val foo: [Error type: Unresolved type for Int]
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
@@ -115,7 +115,7 @@ public object WithPropertyInBaseDifferentOrder {
public companion object Companion : WithPropertyInBaseDifferentOrder.DerivedAbstract {
private constructor Companion()
public final override /*1*/ /*fake_override*/ val foo: [ERROR : Int]
public final override /*1*/ /*fake_override*/ val foo: [Error type: Unresolved type for Int]
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
@@ -131,7 +131,7 @@ public object WithPropertyInBaseDifferentOrder {
public abstract class DerivedAbstract : WithPropertyInBaseDifferentOrder.C.Base {
public constructor DerivedAbstract()
public final override /*1*/ /*fake_override*/ val foo: [ERROR : Int]
public final override /*1*/ /*fake_override*/ val foo: [Error type: Unresolved type for Int]
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
@@ -4,24 +4,24 @@ public fun fa(/*0*/ a: A): kotlin.Unit
public fun fb(/*0*/ b: B): kotlin.Unit
public final data class A {
public constructor A(/*0*/ i: kotlin.Int, /*1*/ j: [ERROR : G])
public constructor A(/*0*/ i: kotlin.Int, /*1*/ j: [Error type: Unresolved type for G])
public final val i: kotlin.Int
public final val j: [ERROR : G]
public final val j: [Error type: Unresolved type for G]
public final operator /*synthesized*/ fun component1(): kotlin.Int
public final operator /*synthesized*/ fun component2(): [ERROR : G]
public final /*synthesized*/ fun copy(/*0*/ i: kotlin.Int = ..., /*1*/ j: [ERROR : G] = ...): A
public final operator /*synthesized*/ fun component2(): [Error type: Unresolved type for G]
public final /*synthesized*/ fun copy(/*0*/ i: kotlin.Int = ..., /*1*/ j: [Error type: Unresolved type for G] = ...): A
public open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String
}
public final data class B {
public constructor B(/*0*/ i: [ERROR : G], /*1*/ j: [ERROR : G])
public final val i: [ERROR : G]
public final val j: [ERROR : G]
public final operator /*synthesized*/ fun component1(): [ERROR : G]
public final operator /*synthesized*/ fun component2(): [ERROR : G]
public final /*synthesized*/ fun copy(/*0*/ i: [ERROR : G] = ..., /*1*/ j: [ERROR : G] = ...): B
public constructor B(/*0*/ i: [Error type: Unresolved type for G], /*1*/ j: [Error type: Unresolved type for G])
public final val i: [Error type: Unresolved type for G]
public final val j: [Error type: Unresolved type for G]
public final operator /*synthesized*/ fun component1(): [Error type: Unresolved type for G]
public final operator /*synthesized*/ fun component2(): [Error type: Unresolved type for G]
public final /*synthesized*/ fun copy(/*0*/ i: [Error type: Unresolved type for G] = ..., /*1*/ j: [Error type: Unresolved type for G] = ...): B
public open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String
@@ -4,7 +4,7 @@ package c {
public abstract class Foo {
public constructor Foo()
protected abstract val prop: [ERROR : No type, no body]
protected abstract val prop: [Error type: Return type for property prop cannot be resolved]
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
@@ -4,7 +4,7 @@ public final class B {
public constructor B()
public final val a: kotlin.Int
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(): [ERROR : No type, no body]
public final fun foo(): [Error type: Return type for foo cannot be resolved]
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -1,7 +1,7 @@
package
public var a: kotlin.Int
public var a1: [ERROR : Type from delegate]
public var a1: [Error type: Error delegation type for A()]
public var b: kotlin.Int
public var c: kotlin.String
public val cObj: C
@@ -16,5 +16,5 @@ package second {
}
package test {
public val a12: [ERROR : Type from delegate]
public val a12: [Error type: Error delegation type for A()]
}
@@ -2,7 +2,7 @@ package
public final class A {
public constructor A()
public final var a: [ERROR : Type from delegate]
public final var a: [Error type: Error delegation type for MyProperty()]
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,6 +1,6 @@
package
public val foo: [ERROR : Type from delegate]
public val foo: [Error type: Error delegation type for ValueWrapper()]
public final class ValueWrapper {
public constructor ValueWrapper()
@@ -2,7 +2,7 @@ package
public final class B {
public constructor B()
public final val c: [ERROR : Type from delegate]
public final val c: [Error type: Error delegation type for Delegate(ag)]
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
@@ -2,7 +2,7 @@ package
public object T1 {
private constructor T1()
public final val test2: [ERROR : Type from delegate]
public final val test2: [Error type: Error delegation type for 1]
public final val kotlin.String.test1: kotlin.Double
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -1,9 +1,9 @@
package
public val a: [ERROR : <ERROR FUNCTION RETURN TYPE>]
public val a: [Error type: Return type for function cannot be resolved]
public val b: kotlin.Int
public val c: [ERROR : Type from delegate]
public val d: [ERROR : <ERROR FUNCTION RETURN TYPE>]
public val c: [Error type: Error delegation type for d]
public val d: [Error type: Return type for function cannot be resolved]
public final class Delegate {
public constructor Delegate(/*0*/ i: kotlin.Int)
+2 -2
View File
@@ -1,6 +1,6 @@
package
public val bar2: [ERROR : <ERROR FUNCTION RETURN TYPE>]
public val bar2: [Error type: Return type for function cannot be resolved]
package lt {
@@ -10,7 +10,7 @@ package lt {
public final class Foo {
public constructor Foo()
public final val bar: [ERROR : <ERROR FUNCTION RETURN TYPE>]
public final val bar: [Error type: Return type for function cannot be resolved]
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
@@ -0,0 +1,9 @@
// WITH_STDLIB
object DelegateTest {
var result = ""
val f by lazy {
result += f.toString() // Compiler crash
"hello"
}
}
@@ -0,0 +1,9 @@
// WITH_STDLIB
object DelegateTest {
var result = ""
val f by lazy {
result += <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>f<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>toString<!>() // Compiler crash
"hello"
}
}
@@ -0,0 +1,10 @@
package
public object DelegateTest {
private constructor DelegateTest()
public final val f: kotlin.String
public final var result: kotlin.String
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,9 +1,9 @@
package
public interface T {
public abstract val x: [ERROR : ErrorType]
public abstract val x: [Error type: Unresolved type for ErrorType]
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public abstract fun getX(): [ERROR : ErrorType1]
public abstract fun getX(): [Error type: Unresolved type for ErrorType1]
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -5,7 +5,7 @@ public fun f1(): kotlin.Unit
public fun f2(): kotlin.Unit
public fun f3(): kotlin.Unit
public fun f4(): kotlin.Unit
public fun f5(): [ERROR : Error function type]
public fun f5(): [Error type: Return type for function cannot be resolved]
public final enum class E : kotlin.Enum<E> {
enum entry FIRST
@@ -5,7 +5,7 @@ public fun f1(): kotlin.Unit
public fun f2(): kotlin.Unit
public fun f3(): kotlin.Unit
public fun f4(): kotlin.Unit
public fun f5(): [ERROR : Error function type]
public fun f5(): [Error type: Return type for function cannot be resolved]
public final enum class E : kotlin.Enum<E> {
enum entry FIRST
@@ -1,6 +1,6 @@
package
public fun f(): [ERROR : Error function type]
public fun f(): [Error type: Return type for function cannot be resolved]
public final enum class E : kotlin.Enum<E> {
enum entry FIRST
@@ -1,7 +1,7 @@
package
public fun </*0*/ R : T & Any, /*1*/ T> bar(): kotlin.Unit
public fun </*0*/ E : [ERROR : Cyclic upper bounds]> baz(): kotlin.Unit
public fun </*0*/ E : [Error type: Cyclic upper bounds]> baz(): kotlin.Unit
public fun </*0*/ T : kotlin.Comparable<T & Any>> sort1(): kotlin.Unit
public fun </*0*/ T : kotlin.Comparable<T & Any>?> sort2(): kotlin.Unit
@@ -1,3 +1,3 @@
package
context([ERROR : No type element]) public fun foo(): kotlin.Unit
context([Error type: No type specified for unknown element]) public fun foo(): kotlin.Unit
@@ -10,9 +10,9 @@ public final class A {
context(A) public final class B {
public constructor B()
public final val prop: [ERROR : Type for x + this@A.x]
public final val prop: [Error type: Not found recorded type for x + this@A.x]
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun f(): [ERROR : Error function type]
public final fun f(): [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,7 +1,7 @@
package
public fun f1(): [ERROR : Error function type]
public fun f2(): [ERROR : Error function type]
public fun f1(): [Error type: Return type for function cannot be resolved]
public fun f2(): [Error type: Return type for function cannot be resolved]
public fun kotlin.Any?.bar(): kotlin.Int
public open class A {
@@ -184,7 +184,7 @@ public final class WithNestedFun</*0*/ K> {
public fun interface NestedFun {
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 abstract fun inovke(/*0*/ element: [ERROR : K]): kotlin.Unit
public abstract fun inovke(/*0*/ element: [Error type: Unresolved type for K]): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -6,7 +6,7 @@ public val newSyntax2: (kotlin.Int, kotlin.Int) -> kotlin.Unit
public val newSyntax3: (???, kotlin.Int) -> kotlin.Unit
public val newSyntax4: (kotlin.Int, ???) -> kotlin.Unit
public val none: () -> kotlin.Unit
public val parameterWithFunctionType: (((kotlin.Int) -> kotlin.Int) -> [ERROR : No type element]) -> kotlin.Unit
public val parameterWithFunctionType: (((kotlin.Int) -> kotlin.Int) -> [Error type: No type specified for unknown element]) -> kotlin.Unit
public val parenthesizedParameters: (???) -> kotlin.Unit
public val parenthesizedParameters2: (???) -> kotlin.Unit
public val receiver: () -> ???
@@ -1,3 +1,3 @@
package
public fun foo(/*0*/ a: kotlin.Any, /*1*/ b: [ERROR : Map]): kotlin.Unit
public fun foo(/*0*/ a: kotlin.Any, /*1*/ b: [Error type: Type for error type constructor (Map)]): kotlin.Unit
@@ -1,6 +1,6 @@
package
public fun </*0*/ T : [ERROR : Cyclic upper bounds], /*1*/ F : [ERROR : Cyclic upper bounds]> foo1(): kotlin.Unit
public fun </*0*/ T : F?, /*1*/ F : [ERROR : Cyclic upper bounds], /*2*/ E : [ERROR : Cyclic upper bounds]> foo2(): kotlin.Unit
public fun </*0*/ T : [ERROR : Cyclic upper bounds], /*1*/ F : [ERROR : Cyclic upper bounds]> foo3(): kotlin.Unit
public fun </*0*/ T : F?, /*1*/ F : [ERROR : Cyclic upper bounds], /*2*/ E : [ERROR : Cyclic upper bounds]> foo4(): kotlin.Unit
public fun </*0*/ T : [Error type: Cyclic upper bounds], /*1*/ F : [Error type: Cyclic upper bounds]> foo1(): kotlin.Unit
public fun </*0*/ T : F?, /*1*/ F : [Error type: Cyclic upper bounds], /*2*/ E : [Error type: Cyclic upper bounds]> foo2(): kotlin.Unit
public fun </*0*/ T : [Error type: Cyclic upper bounds], /*1*/ F : [Error type: Cyclic upper bounds]> foo3(): kotlin.Unit
public fun </*0*/ T : F?, /*1*/ F : [Error type: Cyclic upper bounds], /*2*/ E : [Error type: Cyclic upper bounds]> foo4(): kotlin.Unit
@@ -1,28 +1,28 @@
package
public final class A1</*0*/ T : [ERROR : Cyclic upper bounds], /*1*/ F : [ERROR : Cyclic upper bounds]> {
public constructor A1</*0*/ T : [ERROR : Cyclic upper bounds], /*1*/ F : [ERROR : Cyclic upper bounds]>()
public final class A1</*0*/ T : [Error type: Cyclic upper bounds], /*1*/ F : [Error type: Cyclic upper bounds]> {
public constructor A1</*0*/ T : [Error type: Cyclic upper bounds], /*1*/ F : [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 hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
public final class A2</*0*/ T : F?, /*1*/ F : [ERROR : Cyclic upper bounds], /*2*/ E : [ERROR : Cyclic upper bounds]> {
public constructor A2</*0*/ T : F?, /*1*/ F : [ERROR : Cyclic upper bounds], /*2*/ E : [ERROR : Cyclic upper bounds]>()
public final class A2</*0*/ T : F?, /*1*/ F : [Error type: Cyclic upper bounds], /*2*/ E : [Error type: Cyclic upper bounds]> {
public constructor A2</*0*/ T : F?, /*1*/ F : [Error type: Cyclic upper bounds], /*2*/ E : [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 hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
public final class A3</*0*/ T : [ERROR : Cyclic upper bounds], /*1*/ F : [ERROR : Cyclic upper bounds]> {
public constructor A3</*0*/ T : [ERROR : Cyclic upper bounds], /*1*/ F : [ERROR : Cyclic upper bounds]>()
public final class A3</*0*/ T : [Error type: Cyclic upper bounds], /*1*/ F : [Error type: Cyclic upper bounds]> {
public constructor A3</*0*/ T : [Error type: Cyclic upper bounds], /*1*/ F : [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 hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
public final class A4</*0*/ T : F?, /*1*/ F : [ERROR : Cyclic upper bounds], /*2*/ E : [ERROR : Cyclic upper bounds]> {
public constructor A4</*0*/ T : F?, /*1*/ F : [ERROR : Cyclic upper bounds], /*2*/ E : [ERROR : Cyclic upper bounds]>()
public final class A4</*0*/ T : F?, /*1*/ F : [Error type: Cyclic upper bounds], /*2*/ E : [Error type: Cyclic upper bounds]> {
public constructor A4</*0*/ T : F?, /*1*/ F : [Error type: Cyclic upper bounds], /*2*/ E : [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 hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
@@ -1,10 +1,10 @@
package
public fun </*0*/ T> a(): kotlin.Unit
public fun ex1(/*0*/ a: [ERROR : Bar]<kotlin.String, kotlin.String>): [ERROR : Bar]<kotlin.String, kotlin.String>
public fun ex1(/*0*/ a: [Error type: Type for error type constructor (Bar)]<kotlin.String, kotlin.String>): [Error type: Type for error type constructor (Bar)]<kotlin.String, kotlin.String>
public fun test(): kotlin.Unit
public fun </*0*/ T : Foo<[ERROR : String.Bar]>> x(): kotlin.Unit
public fun [ERROR : Bar]<kotlin.String>.ext(): kotlin.Unit
public fun </*0*/ T : Foo<[Error type: Unresolved type for String.Bar]>> x(): kotlin.Unit
public fun [Error type: Type for error type constructor (Bar)]<kotlin.String>.ext(): kotlin.Unit
public final class Foo</*0*/ T> {
public constructor Foo</*0*/ T>()
@@ -3,7 +3,7 @@ package
public final class A {
public constructor A()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(/*0*/ x: [ERROR : Inner<Int>]<kotlin.Int>): kotlin.Unit
public final fun foo(/*0*/ x: [Error type: Unresolved type for Inner<Int>]<kotlin.Int>): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
@@ -3,7 +3,7 @@ package
public final class A {
public constructor A()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(/*0*/ x: [ERROR : Inner]<kotlin.Int>): kotlin.Unit
public final fun foo(/*0*/ x: [Error type: Type for error type constructor (Inner)]<kotlin.Int>): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
@@ -26,14 +26,14 @@ public final class Outer</*0*/ E> {
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
public final class Nested : Inv<[ERROR : Inner]> {
public final class Nested : Inv<[Error type: Type for error type constructor (Inner)]> {
public constructor Nested()
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 Obj : Inv<[ERROR : Inner]> {
public object Obj : Inv<[Error type: Type for error type constructor (Inner)]> {
private constructor Obj()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -1,6 +1,6 @@
package
public fun bar(/*0*/ x: [ERROR : Inner]): kotlin.Unit
public fun bar(/*0*/ x: [Error type: Type for error type constructor (Inner)]): kotlin.Unit
public final class E {
public constructor E()
@@ -25,7 +25,7 @@ public final class Outer</*0*/ E> {
public final class Nested {
public constructor Nested()
public final fun bar(/*0*/ x: [ERROR : Inner]): kotlin.Unit
public final fun bar(/*0*/ x: [Error type: Type for error type constructor (Inner)]): kotlin.Unit
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
@@ -36,12 +36,12 @@ public final class A</*0*/ T> {
public final class Nested {
public constructor Nested()
public final val c: [ERROR : C]<kotlin.Int>?
public final val d: [ERROR : D]?
public final val innerMost: [ERROR : Innermost]<kotlin.String>?
public final val x: [ERROR : B]<kotlin.String>?
public final val y: [ERROR : C]<kotlin.String, kotlin.String>?
public final val z: [ERROR : D]<kotlin.String>?
public final val c: [Error type: Type for error type constructor (C)]<kotlin.Int>?
public final val d: [Error type: Type for error type constructor (D)]?
public final val innerMost: [Error type: Type for error type constructor (Innermost)]<kotlin.String>?
public final val x: [Error type: Type for error type constructor (B)]<kotlin.String>?
public final val y: [Error type: Type for error type constructor (C)]<kotlin.String, kotlin.String>?
public final val z: [Error type: Type for error type constructor (D)]<kotlin.String>?
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
@@ -4,7 +4,7 @@ public final class Outer</*0*/ T> {
public constructor Outer</*0*/ T>()
public final fun bar(/*0*/ x: Outer.Nested): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(/*0*/ x: Outer<kotlin.String>.Inner, /*1*/ y: [ERROR : Inner], /*2*/ z: Outer<T>.Inner): kotlin.Unit
public final fun foo(/*0*/ x: Outer<kotlin.String>.Inner, /*1*/ y: [Error type: Type for error type constructor (Inner)], /*2*/ z: Outer<T>.Inner): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
@@ -1,13 +1,13 @@
package
public fun error1(): [ERROR : Inner3]<A, B, C, D>
public fun error2(): [ERROR : Inner2]<A, B, C, D>
public fun error3(): [ERROR : Inner3]<A, B, C>
public fun error4(): [ERROR : Inner4]<A, B, C>
public fun error5(): [ERROR : Inner5]<A, B, C>
public fun error6(): [ERROR : Inner5]<A, B, C>
public fun error7(): [ERROR : Inner5]<kotlin.String, A, B>
public fun errorTypeWithArguments(): [ERROR : Q<A>.W<B, C, D>.R.M]<A, B, C, D>
public fun error1(): [Error type: Type for error type constructor (Inner3)]<A, B, C, D>
public fun error2(): [Error type: Type for error type constructor (Inner2)]<A, B, C, D>
public fun error3(): [Error type: Type for error type constructor (Inner3)]<A, B, C>
public fun error4(): [Error type: Type for error type constructor (Inner4)]<A, B, C>
public fun error5(): [Error type: Type for error type constructor (Inner5)]<A, B, C>
public fun error6(): [Error type: Type for error type constructor (Inner5)]<A, B, C>
public fun error7(): [Error type: Type for error type constructor (Inner5)]<kotlin.String, A, B>
public fun errorTypeWithArguments(): [Error type: Unresolved type for Q<A>.W<B, C, D>.R.M]<A, B, C, D>
public fun ok1(): test.Outer<A>.Inner<B, C>.Inner2
public fun ok2(): test.Outer<A>.Inner<B, C>.Inner2
public fun ok22(): test.Outer<A>.Inner<B, C>.Inner3<D>
@@ -1,7 +1,7 @@
package
public fun </*0*/ T : A, /*1*/ R : T> emptyStrangeMap(): kotlin.collections.Map<T, R>
public fun test(): [ERROR : Error function type]
public fun test(): [Error type: Return type for function cannot be resolved]
public fun test7(): kotlin.collections.Map<A, A>
public interface A {
@@ -3,7 +3,7 @@ package
package a {
public interface A {
public abstract val a: [ERROR : A]
public abstract val a: [Error type: Unresolved type for A]
public abstract val b: a.A
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
@@ -27,6 +27,6 @@ public final class NotImported {
package pkg {
public val v: Klass.Nested
public val x: [ERROR : NotImported]
public val x: [Error type: Unresolved type for NotImported]
public fun foo(): Klass
}
@@ -1,7 +1,7 @@
package
public fun test(/*0*/ b: [ERROR : B]): kotlin.Unit
public fun test2(/*0*/ b: [ERROR : B]): kotlin.Unit
public fun test(/*0*/ b: [Error type: Unresolved type for B]): kotlin.Unit
public fun test2(/*0*/ b: [Error type: Unresolved type for B]): kotlin.Unit
package a {
@@ -12,5 +12,5 @@ package b {
package c {
public val v1: kotlin.Int = 1
public val v2: kotlin.String = ""
public val v3: [ERROR : Type for y]
public val v3: [Error type: Not found recorded type for y]
}
@@ -1,7 +1,7 @@
package
package a {
public fun bar(/*0*/ i: kotlin.Int, /*1*/ a: [ERROR : U]): kotlin.Unit
public fun bar(/*0*/ i: kotlin.Int, /*1*/ a: [Error type: Unresolved type for U]): kotlin.Unit
public inline fun </*0*/ T> comparator(/*0*/ fn: (T, T) -> kotlin.Int): java.util.Comparator<T>
public fun foo(): kotlin.Unit
}
@@ -1,4 +1,4 @@
package
public fun test1(): kotlin.Unit
public fun test2(/*0*/ l: kotlin.collections.List<[ERROR : AA]>): kotlin.Unit
public fun test2(/*0*/ l: kotlin.collections.List<[Error type: Unresolved type for AA]>): kotlin.Unit
@@ -4,13 +4,13 @@ public fun foo(/*0*/ x: kotlin.Any): kotlin.Unit
public final class A {
public constructor A()
public final var a: [ERROR : Type for 24.]
public final var a: [Error type: Not found recorded type for 24.]
public final var b: kotlin.Double
public final val q: [ERROR : Type for "c".
public final val q: [Error type: Not found recorded type for "c".
fun String.() = 6]
public final val x: kotlin.Int = 4
public final val y: [ERROR : Type for "b".]
public final val z: [ERROR : Type for "a".]
public final val y: [Error type: Not found recorded type for "b".]
public final val z: [Error type: Not found recorded type for "a".]
public final fun baz(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int

Some files were not shown because too many files have changed in this diff Show More