Skip to content
New issue

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

False positive on interface inheriting from another interface #296

Open
drank40 opened this issue Jul 30, 2022 · 0 comments
Open

False positive on interface inheriting from another interface #296

drank40 opened this issue Jul 30, 2022 · 0 comments
Labels

Comments

@drank40
Copy link

drank40 commented Jul 30, 2022

Description
A clear and concise description of what the bug is.

When declaring an interface that inherits from another interface the linter throws a false positive (the program compiles in solidity 0.8)

Steps to reproduce

The following code is a simplified version of the code in my dApp

1 interface B {
2    ...
3 }
4
5 interface A is B {
6    ...
7 }

Line 5 throws the error

Syntax error: unexpected token i []

Expected behavior

No errors, as this is valid solidity code

Operating System

Linux (Arch, kernel 5.18.14)

Linter version

Solium version 1.2.5

Priority

Not a very common pattern to come across, but still very annoying as I use this code in my dApp

@drank40 drank40 added the bug label Jul 30, 2022
@drank40 drank40 changed the title False positive on interface inheriting from antoher interface False positive on interface inheriting from another interface Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant