Skip to content

ice: sizeof fn() -> i32 panics #655

@thetayloredman

Description

@thetayloredman

The sizeof over a function type panics at codegen with "not a basic type." We probably want to not allow fn without being behind a pointer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenRelating to the code generatorP-mediumThe bug is noticeable but does not significantly affect most use casesT-ICEInternal Compiler Errors (panics or crashes)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions