9 lines
172 B
Plaintext
9 lines
172 B
Plaintext
![]() |
[source,kotlin]
|
||
|
----
|
||
|
var target = -5
|
||
|
val num = 3
|
||
|
|
||
|
target =- num // Noncompliant: target = -3. Is that the expected behavior?
|
||
|
target =+ num // Noncompliant: target = 3
|
||
|
----
|