You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This type is very useful and I am not advocating touching it.
We should be able to infer from a wire of void type that it's source never terminates. For example, you can return a void type from panic no problem. But what does LoadConstant a Const of void type mean?
The text was updated successfully, but these errors were encountered:
Hmm, yes for Value::Sum but you can make a CustomConst that reports it as it's type. Maybe that's ok? Maybe the semantics of LoadConstanting your constant is that it runs a web server forever
Whether or not we formally allow it in a HUGR I think anything downstream trying to compile or interpret it would be well within its rights to throw up its hands in despair.
By void type I mean sums with 0 variants.
This type is very useful and I am not advocating touching it.
We should be able to infer from a wire of void type that it's source never terminates. For example, you can return a void type from
panic
no problem. But what doesLoadConstant
aConst
of void type mean?The text was updated successfully, but these errors were encountered: