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
Consider the following POC:
contract C { function f ( ) public { var i = ( ( 1 ( 3 ) + address ) , 2 ) ** 3 ; } }
Run with solc --bin -o poc poc.sol and we got
solc --bin -o poc poc.sol
Internal compiler error during compilation: /home/yongheng/solidity_clean/libsolidity/analysis/TypeChecker.cpp(1118): Throw in function virtual bool solidity::frontend::TypeChecker::visit(const solidity::frontend::VariableDeclarationStatement &) Dynamic exception type: boost::wrapexcept<solidity::langutil::InternalCompilerError> std::exception::what: Cannot declare variable with void (empty tuple) type. [solidity::util::tag_comment*] = Cannot declare variable with void (empty tuple) type.
The text was updated successfully, but these errors were encountered:
Marenz
Successfully merging a pull request may close this issue.
Description
Consider the following POC:
Run with
solc --bin -o poc poc.sol
and we gotEnvironment
The text was updated successfully, but these errors were encountered: