You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some fields are optional during "stopAfter":"parsing" (#271)
Trivial patch.
Reproduce:
```bash
echo '{"language":"Solidity","sources":{"test.sol":{"content":"contract TT {\\n function main() public {}\\n}"}},"settings":{"stopAfter":"parsing","optimizer":{"enabled":false,"runs":200},"outputSelection":{"*":{"":["ast"],"*":[]}},"viaIR":true,"libraries":{}}}' | solc --standard-json
```
Since there is no semantics analysis when stopping after parsing,
`scope` along with a few other fields are not available and this PR
marks all `scope` to be optional.
0 commit comments