mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix yul ast ID to 0 instead of 1.
This commit is contained in:
parent
451232985b
commit
ea7ee3d5fe
@ -7,6 +7,7 @@ Compiler Features:
|
||||
|
||||
|
||||
Bugfixes:
|
||||
* AST: Fix wrong initial ID for Yul nodes in the AST.
|
||||
* NatSpec: Fix internal error when requesting userdoc or devdoc for a contract that emits an event defined in a foreign contract or interface.
|
||||
* SMTChecker: Fix encoding error that causes loops to unroll after completion.
|
||||
|
||||
|
@ -1553,7 +1553,7 @@ Json::Value StandardCompiler::compileYul(InputsAndSettings _inputsAndSettings)
|
||||
if (isArtifactRequested(_inputsAndSettings.outputSelection, sourceName, contractName, "ast", wildcardMatchesExperimental))
|
||||
{
|
||||
Json::Value sourceResult = Json::objectValue;
|
||||
sourceResult["id"] = 1;
|
||||
sourceResult["id"] = 0;
|
||||
sourceResult["ast"] = stack.astJson();
|
||||
output["sources"][sourceName] = sourceResult;
|
||||
}
|
||||
|
@ -169,7 +169,7 @@
|
||||
"nodeType": "YulObject",
|
||||
"subObjects": []
|
||||
},
|
||||
"id": 1
|
||||
"id": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ data_4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45 616263
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": 1
|
||||
"id": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -258,7 +258,7 @@ sub_0: assembly {
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": 1
|
||||
"id": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -166,7 +166,7 @@
|
||||
"nodeType": "YulObject",
|
||||
"subObjects": []
|
||||
},
|
||||
"id": 1
|
||||
"id": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -161,7 +161,7 @@
|
||||
"nodeType": "YulObject",
|
||||
"subObjects": []
|
||||
},
|
||||
"id": 1
|
||||
"id": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user