Restore UNUSED_* diagnostics to relevant tests.
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
303d5ece96
commit
1da35029a6
+5
-4
@@ -1,7 +1,8 @@
|
||||
fun f(i: Int) {
|
||||
// !DIAGNOSTICS: +UNUSED_PARAMETER +UNUSED_LAMBDA_EXPRESSION +UNUSED_VARIABLE
|
||||
fun f(<!UNUSED_PARAMETER!>i<!>: Int) {
|
||||
for (j in 1..100) {
|
||||
{
|
||||
var <!NAME_SHADOWING!>i<!> = 12
|
||||
}
|
||||
<!UNUSED_LAMBDA_EXPRESSION!>{
|
||||
var <!NAME_SHADOWING, UNUSED_VARIABLE!>i<!> = 12
|
||||
}<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user