mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
51 lines
860 B
JSON
51 lines
860 B
JSON
{
|
|
"errors":
|
|
[
|
|
{
|
|
"component": "general",
|
|
"errorCode": "6328",
|
|
"formattedMessage": "Warning: CHC: Assertion violation happens here.
|
|
Counterexample:
|
|
arr = []
|
|
a = 0x0
|
|
x = 0
|
|
|
|
Transaction trace:
|
|
test.constructor()
|
|
State: arr = []
|
|
test.f(0x0, 1)
|
|
--> A:12:7:
|
|
|
|
|
12 | \t\t\t\t\t\tassert(x > 0);
|
|
| \t\t\t\t\t\t^^^^^^^^^^^^^
|
|
|
|
",
|
|
"message": "CHC: Assertion violation happens here.
|
|
Counterexample:
|
|
arr = []
|
|
a = 0x0
|
|
x = 0
|
|
|
|
Transaction trace:
|
|
test.constructor()
|
|
State: arr = []
|
|
test.f(0x0, 1)",
|
|
"severity": "warning",
|
|
"sourceLocation":
|
|
{
|
|
"end": 258,
|
|
"file": "A",
|
|
"start": 245
|
|
},
|
|
"type": "Warning"
|
|
}
|
|
],
|
|
"sources":
|
|
{
|
|
"A":
|
|
{
|
|
"id": 0
|
|
}
|
|
}
|
|
}
|