FIR: use captureFromTypeParameterUpperBoundIfNeeded for argument types
#KT-48161 Fixed
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
class JList<E>
|
||||
|
||||
class ListSpeedSearch<T>(list: JList<T>)
|
||||
|
||||
class XThreadsFramesView {
|
||||
private fun <J> J.withSpeedSearch(): J where J : JList<*> {
|
||||
val search = ListSpeedSearch(this)
|
||||
return this
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user