[Test] Add regression test for KT-66638

This commit is contained in:
Dmitriy Novozhilov
2024-03-15 15:12:26 +02:00
committed by Space Team
parent 9d2298b326
commit f18aa5e70f
7 changed files with 46 additions and 0 deletions
@@ -0,0 +1,8 @@
// ISSUE: KT-66638
class Super<T1, T2>
data class Child<T : Super<String, Child<T>>>(val foo: String)
fun foo(child: Child<*>) {
child.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>foo<!>
}