// "connect-026.hac"
// copy-modified from "connect-022.hac"
// should error out connecting two receive-only channels

defproc one_shot(chan?(bool) a) {
bool _x;
chp { a?(_x) }
}

one_shot a, b;
a = b;		// error when recursively connecting channel ports

