Skip to content
New issue

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

Empty code causes failure to parse the compilation result. #175

Open
Subway2023 opened this issue Feb 7, 2025 · 0 comments
Open

Empty code causes failure to parse the compilation result. #175

Subway2023 opened this issue Feb 7, 2025 · 0 comments

Comments

@Subway2023
Copy link

Subway2023 commented Feb 7, 2025

If the code is empty, SOLD will encounter a compilation crash instead of throwing an error. Solc does not crash. I think error handling needs to be optimized.

Sold version: sold 0.77.0+commit.32833737.Linux.g++

test.sol

sold test.sol


Warning: Source file does not specify required compiler version! Consider adding "pragma tvm-solidity ^0.77.0;"
--> output/sol/select_v2_quoted_string.sol

Failed to parse compilation result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant