Skip to content

Interface inheritance failure in sol_interface, inconsistent with solc #322

@Subway2023

Description

@Subway2023
sol_interface! {
    interface Parent {
        function test() external pure returns (uint256);
    }
    interface SubA is Parent {
        function test() external pure returns (uint256);
    }
}

compile error

error: inheritance not supported
  --> src/lib.rs:15:20
   |
15 |     interface SubA is Parent {
   |                    ^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions