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

Compilation failure on formatted output pattern #166

Closed
BorisI opened this issue Aug 17, 2024 · 1 comment
Closed

Compilation failure on formatted output pattern #166

BorisI opened this issue Aug 17, 2024 · 1 comment

Comments

@BorisI
Copy link
Collaborator

BorisI commented Aug 17, 2024

pragma ton-solidity >= 0.74.0;
contract ia {
    function foo() internal {
        format("{:x02}", 0);
    }
}
$ sold --version
sold 0.76.0+commit.37302a88.mod.Linux.g++
$ sold ia.sol
Unknown exception during compilation: Dynamic exception type: std::invalid_argument
std::exception::what: stoi
Compilation failed
@IgorKoval
Copy link
Collaborator

Fixed in 0.77.0

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

2 participants