FIR checker: report VAL_REASSIGNMENT on value parameter
This commit is contained in:
committed by
TeamCityServer
parent
2486555208
commit
03f85bea8f
Vendored
+1
-1
@@ -5,7 +5,7 @@ fun testPrefix() {
|
||||
|
||||
fun testPostfixWithCall(n: Nothing) {
|
||||
operator fun Nothing.inc(): Nothing = this
|
||||
n++
|
||||
<!VAL_REASSIGNMENT!>n<!>++
|
||||
}
|
||||
|
||||
fun testPostfixSpecial() {
|
||||
|
||||
Reference in New Issue
Block a user