Skip to content

Calling a generic function in an impl definition crashes the compiler #207

@typeless

Description

@typeless

This seems to happen only when the caller of the trait, the trait definition and the impl definition are all in different modules.

Here is a repro https://github.com/typeless/myr-bug/blob/main/c.myr#L12

$ mbld
        6m -O obj -I obj -I obj a.myr
Missing decl f
CRASH: 6m -O obj -I obj -I obj a.myr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions