mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move file into sourceLocation
This commit is contained in:
parent
96677cd178
commit
10d3a591d4
@ -177,11 +177,11 @@ Output Description
|
|||||||
// Optional: not present if no errors/warnings were encountered
|
// Optional: not present if no errors/warnings were encountered
|
||||||
errors: [
|
errors: [
|
||||||
{
|
{
|
||||||
// Optional
|
|
||||||
file: "sourceFile.sol",
|
|
||||||
// Optional: Location within the source file.
|
// Optional: Location within the source file.
|
||||||
sourceLocation: [
|
sourceLocation: {
|
||||||
{ start: 0, end: 100 },
|
file: "sourceFile.sol",
|
||||||
|
start: 0,
|
||||||
|
end: 100
|
||||||
],
|
],
|
||||||
// Mandatory: Error type, such as "TypeError", "InternalCompilerError", "Exception", etc
|
// Mandatory: Error type, such as "TypeError", "InternalCompilerError", "Exception", etc
|
||||||
type: "TypeError",
|
type: "TypeError",
|
||||||
|
Loading…
Reference in New Issue
Block a user