Skip to content

Cannot spawn task with channel and string #520

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");
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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