-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-type-systemArea: Type systemArea: Type system
Description
This should fail to compile but currently doesn't.
fn start(chan[@int] c) {
c <| @42;
}
fn main() {
auto p = port();
auto child = spawn start(chan(p));
auto c; p |> c;
log_err *c;
}
This will probably be fixed when #568 is fixed.
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type system