mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
26 lines
600 B
JSON
26 lines
600 B
JSON
{"errors":[{"component":"general","errorCode":"3944","formattedMessage":"Warning: CHC: Underflow (resulting value less than 0) happens here.
|
|
Counterexample:
|
|
arr = []
|
|
a = 0
|
|
x = 0
|
|
|
|
Transaction trace:
|
|
test.constructor()
|
|
State: arr = []
|
|
test.f(0, 0)
|
|
--> A:8:7:
|
|
|
|
|
8 | \t\t\t\t\t\t--x;
|
|
| \t\t\t\t\t\t^^^
|
|
|
|
","message":"CHC: Underflow (resulting value less than 0) happens here.
|
|
Counterexample:
|
|
arr = []
|
|
a = 0
|
|
x = 0
|
|
|
|
Transaction trace:
|
|
test.constructor()
|
|
State: arr = []
|
|
test.f(0, 0)","severity":"warning","sourceLocation":{"end":208,"file":"A","start":205},"type":"Warning"}],"sources":{"A":{"id":0}}}
|