mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Support OIOP for type aliases
This commit is contained in:
parent
6ee2fb496d
commit
debe6332c5
21 changed files with 452 additions and 115 deletions
|
@ -1182,6 +1182,7 @@ pub fn constrain_expr(
|
|||
})
|
||||
.collect(),
|
||||
lambda_set_variables: lambda_set_variables.clone(),
|
||||
infer_ext_in_output_types: vec![],
|
||||
actual: Box::new(arg_type.clone()),
|
||||
kind: AliasKind::Opaque,
|
||||
});
|
||||
|
@ -1253,6 +1254,7 @@ pub fn constrain_expr(
|
|||
})
|
||||
.collect(),
|
||||
lambda_set_variables: lambda_set_variables.clone(),
|
||||
infer_ext_in_output_types: vec![],
|
||||
actual: Box::new(argument_type.clone()),
|
||||
kind: AliasKind::Opaque,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue