8000 False positive on interface inheriting from another interface · Issue #296 · duaraghav8/Ethlint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
False positive on interface inheriting from another interface #296
Open
@drank40

Description

@drank40

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0