Skip to content

Consider banning or showing a compiler warning for payable private functions #516

@ghallak

Description

@ghallak
contract C =
    payable entrypoint f() = ()    // Makes sense
    payable function g() = ()      // Does not make sense

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