From 10d3a591d42952980203c6f9395f81065f06575b Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 6 Feb 2017 16:55:56 +0000 Subject: Move file into sourceLocation --- docs/using-the-compiler.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst index f2d6b858..ab8f3d82 100644 --- a/docs/using-the-compiler.rst +++ b/docs/using-the-compiler.rst @@ -177,11 +177,11 @@ Output Description // Optional: not present if no errors/warnings were encountered errors: [ { - // Optional - file: "sourceFile.sol", // Optional: Location within the source file. - sourceLocation: [ - { start: 0, end: 100 }, + sourceLocation: { + file: "sourceFile.sol", + start: 0, + end: 100 ], // Mandatory: Error type, such as "TypeError", "InternalCompilerError", "Exception", etc type: "TypeError", -- cgit