Continuing the discussion from this PR, comments reproduced below:
// Unwrap the channel. The ready signal is a Value we haven't created yet, so // create a temp value and replace it later. Give this constant an odd-looking // type to make debugging easier.
Me: Is this the correct way to create back edges? Feels kinda hacky but it works.
@clattner This is sort of weird but I can’t think of a better way to do this off-hand.
@mikeurbach Could you do something like the following?
Value val; ... [use `val` as needed] ... val = [code to create value]
[cont’d] I’m guessing passing around a null Value might not work and this temp constant was needed?
Me: Spot on.