[FIR] Add FINAL_UPPER_BOUND checker
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ fun <T> takeFun(f: (T) -> Unit) {}
|
||||
fun <T, R> callFun(f: (T) -> R): R = TODO()
|
||||
|
||||
fun <T> foo(s: T) {}
|
||||
fun <T : Int> fooInt(s: T) {}
|
||||
fun <T : <!FINAL_UPPER_BOUND!>Int<!>> fooInt(s: T) {}
|
||||
|
||||
open class Wrapper<T>(val value: T)
|
||||
fun <T, R : Wrapper<in T>> createWrapper(s: T): R = TODO()
|
||||
|
||||
Reference in New Issue
Block a user