Add TODO to remove TryTarget::Task

This commit is contained in:
Agus Zubiaga 2024-10-14 21:45:01 -03:00
parent 8bde68cc5e
commit fd3fb16f7a
No known key found for this signature in database
2 changed files with 2 additions and 5 deletions

View file

@ -410,7 +410,6 @@ pub fn desugar_expr<'a>(
| Try => loc_expr,
Var { module_name, ident } => {
// TODO remove when purity inference fully replaces Task
// [purity-inference] TODO: only in Task mode
if ident.ends_with('!') {
env.arena.alloc(Loc::at(