Skip to content

Cannot spawn task with channel and string #520

Closed
@robarnold

Description

@robarnold

:0:0:0:0: error: internal compiler error unexpected type in trans::deep_copy: str

Testcase:
type ctx = chan[int];

fn iotask(ctx cx, str ip) {
}

fn main() {
let port[int] p = port();
spawn iotask(chan(p), "localhost");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions