mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
inferred extension vars are material if they're not flex or empty
This commit is contained in:
parent
71e759a456
commit
a526fd92aa
1 changed files with 1 additions and 1 deletions
|
@ -2476,7 +2476,7 @@ impl AliasVariables {
|
|||
subs.get_subs_slice(self.infer_ext_in_output_variables())
|
||||
.iter()
|
||||
.any(|v| {
|
||||
matches!(
|
||||
!matches!(
|
||||
subs.get_content_unchecked(*v),
|
||||
Content::FlexVar(None) | Content::Structure(FlatType::EmptyTagUnion)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue