Skip to content

typeck hang with structural recursive type #900

Closed
@jruderman

Description

@jruderman
tag noption { some(noption); }
fn main() {
    let nop2: noption = "x";
    alt nop2 {
      some(t) { log t.x; }
    }
}

Hangs the compiler in typeck.

sully, will your planned fix for #742 take care of this?

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