Desugar Record Builder

This commit is contained in:
Agustin Zubiaga 2023-05-07 20:31:32 -03:00
parent 71c80171d4
commit dfa9c29147
2 changed files with 126 additions and 4 deletions

View file

@ -1052,6 +1052,9 @@ pub fn canonicalize_expr<'a>(
can_defs_with_return(env, var_store, inner_scope, env.arena.alloc(defs), loc_ret)
})
}
ast::Expr::RecordBuilder(_) => {
unreachable!("RecordBuilder should have been desugared by now")
}
ast::Expr::Backpassing(_, _, _) => {
unreachable!("Backpassing should have been desugared by now")
}