data flow info for arg may affect next argument's type for type argument inference case
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package a
|
||||
|
||||
fun <T> foo(u: T, <!UNUSED_PARAMETER!>v<!>: T): T = u
|
||||
|
||||
fun test(s: String?) {
|
||||
val <!UNUSED_VARIABLE!>r<!>: String = foo(s!!, s)
|
||||
}
|
||||
Reference in New Issue
Block a user