Move file into sourceLocation

This commit is contained in:
Alex Beregszaszi 2017-02-06 16:55:56 +00:00
parent 96677cd178
commit 10d3a591d4

View File

@ -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",