We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The typechecker does not infer a type for the following parameter. It should determine that ctrl has type port[command[K,V]].
ctrl
port[command[K,V]]
fn cache_server[K, V] (chan[chan[command[K,V]]] c) { auto ctrl = port(); c <| chan(ctrl); }