mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Remove TagName
in favor of explicit TagName or Closure
Note that we still need a `TagOrClosure` enum for phases past mono, but at least we get rid of the branches in the front end.
This commit is contained in:
parent
bbc022b2f5
commit
bde107da49
29 changed files with 841 additions and 704 deletions
|
@ -818,7 +818,7 @@ pub fn canonicalize_expr<'a>(
|
|||
|
||||
(
|
||||
ZeroArgumentTag {
|
||||
name: TagName::Tag((*tag).into()),
|
||||
name: TagName((*tag).into()),
|
||||
variant_var,
|
||||
closure_name: symbol,
|
||||
ext_var,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue