We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the EthDebug JSON schema, source range offsets must be non-negative integers, see: https://ethdebug.github.io/format/spec/materials/source-range
However, solc sets it to -1 in some cases.
-1
solc --standard-json test/cmdlineTests/standard_output_debuginfo_ethdebug_compatible/input.json > output.json
See, https://github.com/ethereum/solidity/blob/4f23c18e7c7668abffabaaa5095107015e500714/test/cmdlineTests/standard_output_debuginfo_ethdebug_compatible/input.json
The output.json file contains four JUMPDEST instructions containing a negative offset, here is one such example:
output.json
{ "context": { "code": { "range": { "length": 0, "offset": -1 }, "source": { "id": 0 } } }, "offset": 13, "operation": { "mnemonic": "JUMPDEST" } },
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
According to the EthDebug JSON schema, source range offsets must be non-negative integers, see: https://ethdebug.github.io/format/spec/materials/source-range
However, solc sets it to
-1
in some cases.Environment
Steps to Reproduce
solc --standard-json test/cmdlineTests/standard_output_debuginfo_ethdebug_compatible/input.json > output.json
See, https://github.com/ethereum/solidity/blob/4f23c18e7c7668abffabaaa5095107015e500714/test/cmdlineTests/standard_output_debuginfo_ethdebug_compatible/input.json
The
output.json
file contains four JUMPDEST instructions containing a negative offset, here is one such example:The text was updated successfully, but these errors were encountered: