KT-609 Analyze not only local variables, but function parameters as well in 'unused values' analysis
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
open class Foo {}
|
||||
open class Bar {}
|
||||
|
||||
fun <T : Bar, T1> foo(x : Int) {}
|
||||
fun <T1, T : Foo> foo(x : Long) {}
|
||||
fun <T : Bar, T1> foo(<warning>x</warning> : Int) {}
|
||||
fun <T1, T : Foo> foo(<warning>x</warning> : Long) {}
|
||||
|
||||
fun f(): Unit {
|
||||
foo<<error>Int</error>, Int>(1)
|
||||
|
||||
Reference in New Issue
Block a user