Closed kopy-kat closed 5 months ago
@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: https://github.com/Consensys/solc-typed-ast/issues/255 Will update you once we find a solution.
Example:
Error message: