aboutsummaryrefslogtreecommitdiffstats
path: root/docs/using-the-compiler.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-03 05:35:07 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-09 07:41:48 +0800
commita3340e210e94c3e31cf26b65cc49e03f8ef444de (patch)
tree2df5c1e678e446c811f71b24a4984af278bd5ef8 /docs/using-the-compiler.rst
parentc217bc2dcaf9deec38a54cc094b09288e95ba58f (diff)
downloaddexon-solidity-a3340e210e94c3e31cf26b65cc49e03f8ef444de.tar.gz
dexon-solidity-a3340e210e94c3e31cf26b65cc49e03f8ef444de.tar.zst
dexon-solidity-a3340e210e94c3e31cf26b65cc49e03f8ef444de.zip
Error list should have sourceLocation
Diffstat (limited to 'docs/using-the-compiler.rst')
-rw-r--r--docs/using-the-compiler.rst10
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.