Solidity solc linter compatible with 0.6/0.7/0.8 (#3763)

This commit is contained in:
Néstor Coppi
2021-07-04 09:40:12 -03:00
committed by GitHub
parent 36fcb01e05
commit 87e079a9b2
4 changed files with 60 additions and 19 deletions

View File

@@ -21,10 +21,14 @@ Execute(Check solc output parsing):
\ },
\ ],
\ ale_linters#solidity#solc#Handle(bufnr(''), [
\ 'raiden_contracts/data/source/raiden/Token.sol:40:48: Warning: This declaration shadows an existing declaration.',
\ ' function decimals() external view returns (uint8 decimals);',
\ ' ^------------^',
\ '/home/karl/raiden-contracts/raiden_contracts/data/source/test/OneToNInternalsTest.sol:23:16: Error: Member "getSinleSignature" not found or not visible after argument-dependent lookup in type(contract OneToN).',
\ ' return OneToN.getSinleSignature(signatures, i);',
\ ' ^----------------------^',
\ 'Warning: This declaration shadows an existing declaration.',
\ ' --> /path/to/file.sol:40:48:',
\ ' |',
\ '40 | function decimals() external view returns (uint8 decimals);',
\ ' | ^------------^',
\ 'Error: Member "getSinleSignature" not found or not visible after argument-dependent lookup in type(contract OneToN).',
\ ' --> /path/to/file.sol:23:16: ',
\ ' | ',
\ '23 | return OneToN.getSinleSignature(signatures, i);',
\ ' | ^----------------------^',
\ ])