Star projection information preserved in substitutions
#KT-6700 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class C<T : C<T>>
|
||||
|
||||
trait Base {
|
||||
fun foo(c: C<*>)
|
||||
}
|
||||
|
||||
class Derived : Base {
|
||||
<caret>
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
class C<T : C<T>>
|
||||
|
||||
trait Base {
|
||||
fun foo(c: C<*>)
|
||||
}
|
||||
|
||||
class Derived : Base {
|
||||
override fun foo(c: C<*>) {
|
||||
<selection><caret>throw UnsupportedOperationException()</selection>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user