-
Notifications
You must be signed in to change notification settings - Fork 6
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
Does not recognize payable
#32
Milestone
Comments
@kopy-kat hey, thanks for the report! What solidity version are you using? Any chance I can see the full contract? |
Using 0.8.24 and this is actually the full file (its in a lib): // SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;
address payable constant SWAPROUTER_ADDRESS = payable(0xE592427A0AEce92De3Edee1F18E0157C05861564);
uint24 constant SWAPROUTER_DEFAULTFEE = 3000; |
Perfect, thanks. It seems to be a parser issue, I've reported it here: Consensys/solc-typed-ast#255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
Error message:
The text was updated successfully, but these errors were encountered: