Wrong error format for Type.Infer.inferHandler: using a bare operation is deprecated
#508
Labels
Type.Infer.inferHandler: using a bare operation is deprecated
#508
Consider the following state effect and handler:
Since we forgot to write
fun
in front ofget
, we get an error message:The error message itself is good and tells us how to fix the problem. However, this error message comes from a call to
error
and does not fit in nicely with the rest of Koka's error reporting. In particular, there is no syntax highlighting in VSCode.The text was updated successfully, but these errors were encountered: