KT-609 Analyze not only local variables, but function parameters as well in 'unused values' analysis
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class C {
|
||||
|
||||
fun f (a : Boolean, b : Boolean) {
|
||||
fun f (<warning>a</warning> : Boolean, <warning>b</warning> : Boolean) {
|
||||
@b (while (true)
|
||||
@a {
|
||||
<error>break@f</error>
|
||||
|
||||
Reference in New Issue
Block a user