mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"errors":
|
|
[
|
|
{
|
|
"component": "general",
|
|
"errorCode": "4661",
|
|
"formattedMessage": "Warning: BMC: Assertion violation happens here.
|
|
--> A:4:47:
|
|
|
|
|
4 | contract C { function f(uint x) public pure { assert(x > 0); } }
|
|
| ^^^^^^^^^^^^^
|
|
Note: Counterexample:
|
|
x = 0
|
|
|
|
Note: Callstack:
|
|
Note:
|
|
|
|
",
|
|
"message": "BMC: Assertion violation happens here.",
|
|
"secondarySourceLocations":
|
|
[
|
|
{
|
|
"message": "Counterexample:
|
|
x = 0
|
|
"
|
|
},
|
|
{
|
|
"message": "Callstack:"
|
|
},
|
|
{
|
|
"message": ""
|
|
}
|
|
],
|
|
"severity": "warning",
|
|
"sourceLocation":
|
|
{
|
|
"end": 119,
|
|
"file": "A",
|
|
"start": 106
|
|
},
|
|
"type": "Warning"
|
|
}
|
|
],
|
|
"sources":
|
|
{
|
|
"A":
|
|
{
|
|
"id": 0
|
|
}
|
|
}
|
|
}
|