Closed area closed 5 years ago
There seems to be an issue with Assembly Function Declarations. All of the following are valid according to remix, but this parser seems to only successfully parse the first one:
pragma solidity ^0.5.0; contract JoinSplit { function() external payable { assembly { function validateJoinSplit(y) -> x { } } } }
pragma solidity ^0.5.0; contract JoinSplit { function() external payable { assembly { function validateJoinSplit(y) { } } } }
pragma solidity ^0.5.0; contract JoinSplit { function() external payable { assembly { function validateJoinSplit() -> x { } } } }
Thanks for reporting this! It should be fixed in latest master. I will cut a release in the next few days.
master
There seems to be an issue with Assembly Function Declarations. All of the following are valid according to remix, but this parser seems to only successfully parse the first one: