From 87e079a9b25ebf5818b8451874ce2a8bd614226f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9stor=20Coppi?= Date: Sun, 4 Jul 2021 09:40:12 -0300 Subject: Solidity solc linter compatible with 0.6/0.7/0.8 (#3763) --- test/handler/test_solc_handler.vader | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'test/handler/test_solc_handler.vader') diff --git a/test/handler/test_solc_handler.vader b/test/handler/test_solc_handler.vader index 8c197507..dcaa8b2d 100644 --- a/test/handler/test_solc_handler.vader +++ b/test/handler/test_solc_handler.vader @@ -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);', + \ ' | ^----------------------^', \ ]) -- cgit v1.2.3