mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
repl tests
This commit is contained in:
parent
10dffe8691
commit
baa86e283e
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ fn unroll_newtypes_and_aliases<'a, 'env>(
|
|||
content = env.subs.get_content_without_compacting(field.into_inner());
|
||||
}
|
||||
Content::Alias(name, _, real_var, kind) => {
|
||||
if *name == Symbol::BOOL_BOOL {
|
||||
return (newtype_containers, alias_content, content);
|
||||
}
|
||||
// We need to pass through aliases too, because their underlying types may have
|
||||
// unrolled newtypes. For example,
|
||||
// T : { a : Str }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue