diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-03 05:35:07 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-02-09 07:41:48 +0800 |
commit | a3340e210e94c3e31cf26b65cc49e03f8ef444de (patch) | |
tree | 2df5c1e678e446c811f71b24a4984af278bd5ef8 /docs | |
parent | c217bc2dcaf9deec38a54cc094b09288e95ba58f (diff) | |
download | dexon-solidity-a3340e210e94c3e31cf26b65cc49e03f8ef444de.tar.gz dexon-solidity-a3340e210e94c3e31cf26b65cc49e03f8ef444de.tar.zst dexon-solidity-a3340e210e94c3e31cf26b65cc49e03f8ef444de.zip |
Error list should have sourceLocation
Diffstat (limited to 'docs')
-rw-r--r-- | docs/using-the-compiler.rst | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst index 2d78d58a..67b3f32c 100644 --- a/docs/using-the-compiler.rst +++ b/docs/using-the-compiler.rst @@ -179,12 +179,10 @@ Output Description { // Optional file: "sourceFile.sol", - // Optional - contract: "contractName", - // Optional - line: 100, - // Optional - column: 0, + // Optional: Location within the source file. + sourceLocation: [ + { start: 0, end: 100 }, + ], // Mandatory: Error type, such as "TypeError", "InternalCompilerError", "Exception", etc type: "TypeError", // Mandatory: Component where the error originated, such as "general", "why3", "ewasm", etc. |