FIR checker: Report VAL_OR_VAR_ON_*_PARAMETER.

This commit is contained in:
Mark Punzalan
2021-05-19 21:31:33 +00:00
committed by teamcityserver
parent 71c5c9f6c5
commit af99ad0736
23 changed files with 178 additions and 90 deletions
@@ -1,7 +1,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class A {
constructor(
val x: Int, y: Int,
var z: Int,
<!VAL_OR_VAR_ON_SECONDARY_CONSTRUCTOR_PARAMETER!>val<!> x: Int, y: Int,
<!VAL_OR_VAR_ON_SECONDARY_CONSTRUCTOR_PARAMETER!>var<!> z: Int,
public a: Int)
}