mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Improve a variable name
This commit is contained in:
parent
07eed2c4a6
commit
d7ef42612b
1 changed files with 2 additions and 2 deletions
|
@ -719,10 +719,10 @@ fn add_type_help<'a>(
|
||||||
|
|
||||||
add_tag_union(env, opt_name, tags, var, types, layout)
|
add_tag_union(env, opt_name, tags, var, types, layout)
|
||||||
}
|
}
|
||||||
Content::Structure(FlatType::RecursiveTagUnion(_rec_var, tag_vars, ext_var)) => {
|
Content::Structure(FlatType::RecursiveTagUnion(_rec_var, tags, ext_var)) => {
|
||||||
debug_assert!(ext_var_is_empty_tag_union(subs, *ext_var));
|
debug_assert!(ext_var_is_empty_tag_union(subs, *ext_var));
|
||||||
|
|
||||||
add_tag_union(env, opt_name, tag_vars, var, types, layout)
|
add_tag_union(env, opt_name, tags, var, types, layout)
|
||||||
}
|
}
|
||||||
Content::Structure(FlatType::Apply(symbol, _)) => match layout {
|
Content::Structure(FlatType::Apply(symbol, _)) => match layout {
|
||||||
Layout::Builtin(builtin) => {
|
Layout::Builtin(builtin) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue