mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"errors":
|
|
[
|
|
{
|
|
"component": "general",
|
|
"errorCode": "2661",
|
|
"formattedMessage": "Warning: BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
|
--> A:9:7:
|
|
|
|
|
9 | \t\t\t\t\t\tx + type(uint).max;
|
|
| \t\t\t\t\t\t^^^^^^^^^^^^^^^^^^
|
|
Note: Counterexample:
|
|
<result> = 2**256
|
|
a = 0
|
|
x = 1
|
|
|
|
Note: Callstack:
|
|
Note:
|
|
|
|
",
|
|
"message": "BMC: Overflow (resulting value larger than 2**256 - 1) happens here.",
|
|
"secondarySourceLocations":
|
|
[
|
|
{
|
|
"message": "Counterexample:
|
|
<result> = 2**256
|
|
a = 0
|
|
x = 1
|
|
"
|
|
},
|
|
{
|
|
"message": "Callstack:"
|
|
},
|
|
{
|
|
"message": ""
|
|
}
|
|
],
|
|
"severity": "warning",
|
|
"sourceLocation":
|
|
{
|
|
"end": 203,
|
|
"file": "A",
|
|
"start": 185
|
|
},
|
|
"type": "Warning"
|
|
}
|
|
],
|
|
"sources":
|
|
{
|
|
"A":
|
|
{
|
|
"id": 0
|
|
}
|
|
}
|
|
}
|