Expose self
to recover
expressions
#571
Labels
accepting contributions
Issues that are suitable to be worked on by anybody, not just maintainers
compiler
Changes related to the compiler
feature
New things to add to Inko, such as a new standard library module
Milestone
Description
Just like local variables,
self
should be available inrecover
expressions asuni ref T
oruni mut T
, depending on the mutability of the surrounding method. This allows for expressions such asrecover match self { ... }
, which currently isn't allowed.Related work
No response
The text was updated successfully, but these errors were encountered: