is this related to the same? this is annoying with match expressions inside task ce...

in my case the reason was just the missing _ in:
| _ ->
for all cases, so I think the error is misleading, should suggest missing match case instead.
i didn't see it right away because the compiler error was not useful...
Originally posted by @jkone27 in #4653 (comment)