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
Description Solidity 0.6 introduces the abstract keyword for abstract contracts: https://solidity.readthedocs.io/en/v0.6.0/contracts.html#abstract-contracts
abstract
Works:
// Test.sol pragma solidity ^0.6; contract Test { uint a = 1; }
Does not work:
// Test.sol pragma solidity ^0.6; abstract contract Test { uint a = 1; }
$ npx solium --file Test.sol Test.sol 3:1 error Syntax error: unexpected token a ✖ 1 error found.
The text was updated successfully, but these errors were encountered:
Likewise the new override keyword.
override
Sorry, something went wrong.
Likewise the new receive and fallback functions :) In general support the 0.6 syntax changes.
receive
fallback
Is there a workaround? Or maybe a fork that already has Solidity 0.6 syntax support?
@quezak You can ignore those files or use https://github.com/protofire/solhint.
I can't ignore all my contract files :D I'll try out if solhint works better, thanks
No branches or pull requests
Description
Solidity 0.6 introduces the
abstract
keyword for abstract contracts: https://solidity.readthedocs.io/en/v0.6.0/contracts.html#abstract-contractsWorks:
Does not work:
The text was updated successfully, but these errors were encountered: