
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
8 lines
165 B
Plaintext
8 lines
165 B
Plaintext
[source,go]
|
|
----
|
|
var target, num = -5, 3
|
|
|
|
target =- num // Noncompliant: target = -3. Is that the expected behavior?
|
|
target =+ num // Noncompliant: target = 3
|
|
----
|