Error list should have sourceLocation

This commit is contained in:
Alex Beregszaszi 2017-02-02 21:35:07 +00:00
parent c217bc2dca
commit a3340e210e

View File

@ -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.