mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
1e63615206
Update tests. Additional tests Revert changes to the Natspec
103 lines
3.0 KiB
JSON
103 lines
3.0 KiB
JSON
{
|
|
"errors":
|
|
[
|
|
{
|
|
"component": "general",
|
|
"errorCode": "3546",
|
|
"formattedMessage": "ParserError: Expected type name
|
|
--> A:2:58:
|
|
|
|
|
2 | pragma solidity >=0.0; contract Errort6 { using foo for ; /* missing type name */ }
|
|
| ^
|
|
|
|
",
|
|
"message": "Expected type name",
|
|
"severity": "error",
|
|
"sourceLocation":
|
|
{
|
|
"end": 94,
|
|
"file": "A",
|
|
"start": 93
|
|
},
|
|
"type": "ParserError"
|
|
},
|
|
{
|
|
"component": "general",
|
|
"errorCode": "3796",
|
|
"formattedMessage": "Warning: Recovered in ContractDefinition at '}'.
|
|
--> A:2:84:
|
|
|
|
|
2 | pragma solidity >=0.0; contract Errort6 { using foo for ; /* missing type name */ }
|
|
| ^
|
|
|
|
",
|
|
"message": "Recovered in ContractDefinition at '}'.",
|
|
"severity": "warning",
|
|
"sourceLocation":
|
|
{
|
|
"end": 120,
|
|
"file": "A",
|
|
"start": 119
|
|
},
|
|
"type": "Warning"
|
|
}
|
|
],
|
|
"sources":
|
|
{
|
|
"A":
|
|
{
|
|
"ast":
|
|
{
|
|
"absolutePath": "A",
|
|
"exportedSymbols":
|
|
{
|
|
"Errort6":
|
|
[
|
|
3
|
|
]
|
|
},
|
|
"id": 4,
|
|
"license": "GPL-3.0",
|
|
"nodeType": "SourceUnit",
|
|
"nodes":
|
|
[
|
|
{
|
|
"id": 1,
|
|
"literals":
|
|
[
|
|
"solidity",
|
|
">=",
|
|
"0.0"
|
|
],
|
|
"nodeType": "PragmaDirective",
|
|
"src": "36:22:0"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"canonicalName": "Errort6",
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"fullyImplemented": true,
|
|
"id": 3,
|
|
"linearizedBaseContracts":
|
|
[
|
|
3
|
|
],
|
|
"name": "Errort6",
|
|
"nameLocation": "68:7:0",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [],
|
|
"scope": 4,
|
|
"src": "59:35:0",
|
|
"usedErrors": [],
|
|
"usedEvents": []
|
|
}
|
|
],
|
|
"src": "36:84:0"
|
|
},
|
|
"id": 0
|
|
}
|
|
}
|
|
}
|