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