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
However, when you read the paper and just want to try things out on the website, you get a bizarre parser error:
I think it would be nice to special case this exact syntax in the parser to provide a much nicer error message: something that underlines the effect keyword, says "Did you mean interface? ...", and ideally provides a quick-fix that works both in VSCode and on the website.
The original Effekt paper uses the
effect
keyword for both an "interface" and a singleton operation:However, when you read the paper and just want to try things out on the website, you get a bizarre parser error:
I think it would be nice to special case this exact syntax in the parser to provide a much nicer error message: something that underlines the
effect
keyword, says "Did you meaninterface
? ...", and ideally provides a quick-fix that works both in VSCode and on the website.Relevant code
effekt/effekt/shared/src/main/scala/effekt/RecursiveDescent.scala
Lines 469 to 486 in 6e71bcd
The text was updated successfully, but these errors were encountered: