Replies: 1 comment
-
Interesting, I assumed that you could only override the "same" handler type. Looking at this issue I then wondered if something strange was going on with override that made that assumption - that the effect it masks is the exact same as the one it is defining.
In other words even if override should mean that the exact same effect at the same types is overridden, the desugaring should work to mask the effect regardless of type, and it doesn't seem to be doing so. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This does not work
If we replace the type
b
witha
, it does work.I'm unsure why the inferred effect is
<yield<$a>,yield<$a>|_e1>
, because clearly the result off
isb
.Why does this fail, and how can we make it work?
Beta Was this translation helpful? Give feedback.
All reactions