summaryrefslogtreecommitdiff
path: root/compiler/testData/diagnostics/tests/inference/capturedTypes/kt52782.txt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/testData/diagnostics/tests/inference/capturedTypes/kt52782.txt')
-rw-r--r--compiler/testData/diagnostics/tests/inference/capturedTypes/kt52782.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/compiler/testData/diagnostics/tests/inference/capturedTypes/kt52782.txt b/compiler/testData/diagnostics/tests/inference/capturedTypes/kt52782.txt
new file mode 100644
index 00000000000..b1d922751e5
--- /dev/null
+++ b/compiler/testData/diagnostics/tests/inference/capturedTypes/kt52782.txt
@@ -0,0 +1,18 @@
+package
+
+public fun box(/*0*/ foo: Foo<*>): kotlin.Unit
+
+public abstract class Bar</*0*/ T : Foo<out Bar<T!>!>!> {
+ public constructor Bar</*0*/ T : Foo<out Bar<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 abstract class Foo</*0*/ K : Bar<out Foo<K!>!>!> {
+ public constructor Foo</*0*/ K : Bar<out Foo<K!>!>!>()
+ public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
+ public/*package*/ abstract fun getTest(): kotlin.String!
+ public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
+ public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
+}