mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Error list should have sourceLocation
This commit is contained in:
parent
c217bc2dca
commit
a3340e210e
@ -179,12 +179,10 @@ Output Description
|
|||||||
{
|
{
|
||||||
// Optional
|
// Optional
|
||||||
file: "sourceFile.sol",
|
file: "sourceFile.sol",
|
||||||
// Optional
|
// Optional: Location within the source file.
|
||||||
contract: "contractName",
|
sourceLocation: [
|
||||||
// Optional
|
{ start: 0, end: 100 },
|
||||||
line: 100,
|
],
|
||||||
// Optional
|
|
||||||
column: 0,
|
|
||||||
// Mandatory: Error type, such as "TypeError", "InternalCompilerError", "Exception", etc
|
// Mandatory: Error type, such as "TypeError", "InternalCompilerError", "Exception", etc
|
||||||
type: "TypeError",
|
type: "TypeError",
|
||||||
// Mandatory: Component where the error originated, such as "general", "why3", "ewasm", etc.
|
// Mandatory: Component where the error originated, such as "general", "why3", "ewasm", etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user