mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Fix repl compile after rebase
This commit is contained in:
parent
a7825c34f5
commit
75cef24ee0
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ fn unroll_newtypes<'a>(
|
||||||
let field_var = *field.as_inner();
|
let field_var = *field.as_inner();
|
||||||
content = env.subs.get_content_without_compacting(field_var);
|
content = env.subs.get_content_without_compacting(field_var);
|
||||||
}
|
}
|
||||||
Content::Alias(_, _, real_var) => {
|
Content::Alias(_, _, real_var, _) => {
|
||||||
// We need to pass through aliases too, because their underlying types may have
|
// We need to pass through aliases too, because their underlying types may have
|
||||||
// unrolled newtypes. In such cases return the list of unrolled newtypes, but keep
|
// unrolled newtypes. In such cases return the list of unrolled newtypes, but keep
|
||||||
// the content as the alias for readability. For example,
|
// the content as the alias for readability. For example,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue