Skip to content

struct in external function not compile #5581

Closed
@aihuawu

Description

@aihuawu

contract C
struct A {
uint256 id;
}

function f(A memory a) external {

}
}
If I change external to public, it compiles.
But it doesn't work for external

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