Open LogvinovLeon opened 5 years ago
Solidity accepts both options.
@LogvinovLeon good catch! Is this documented behaviour? Or just an oversight on the part of the Solidity team? Is there any mention of this in the issues or docs for ethereum/solidity?
@federicobond I don't think it's documented. And I think it's a mistake it supports it. Maybe this should be an issue on a solidity repo instead
Yeah, let's open an issue in the Solidity repo and see if they are willing to tighten things up a bit. I don't think many users expect it to work that way.
Solidity accepts both options. This parser fails on first one and only accepts the second one. I know it's minor nit, but would be still good to accept both.