aboutsummaryrefslogtreecommitdiffstats
path: root/docs/using-the-compiler.rst
diff options
context:
space:
mode:
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.