Skip to content

Internal compiler error in instantiate #664

Closed
@eholk

Description

@eholk

It seems like this ought to compile...

    fn echo[T](chan[T] c, chan[chan[T]] oc) {
        auto p = port[T]();
        oc <| chan(p);

        auto x;
        p |> x;
        c <| x;
    }

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