Skip to content

Interface inheritance failure in sol_interface, inconsistent with solc #322

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

    enhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions