aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-07 00:55:56 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-09 07:41:48 +0800
commit10d3a591d42952980203c6f9395f81065f06575b (patch)
treedae186ae72257e6c0efb43837c67721782aeadfe /docs
parent96677cd1788ab7eb8c493f4de7030200b0c39108 (diff)
downloaddexon-solidity-10d3a591d42952980203c6f9395f81065f06575b.tar
dexon-solidity-10d3a591d42952980203c6f9395f81065f06575b.tar.gz
dexon-solidity-10d3a591d42952980203c6f9395f81065f06575b.tar.bz2
dexon-solidity-10d3a591d42952980203c6f9395f81065f06575b.tar.lz
dexon-solidity-10d3a591d42952980203c6f9395f81065f06575b.tar.xz
dexon-solidity-10d3a591d42952980203c6f9395f81065f06575b.tar.zst
dexon-solidity-10d3a591d42952980203c6f9395f81065f06575b.zip
Move file into sourceLocation
Diffstat (limited to 'docs')
-rw-r--r--docs/using-the-compiler.rst8
1 files 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",