mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Remove Lowercase from Alias and Opaque
This commit is contained in:
parent
452b882f12
commit
83c6c3a17d
15 changed files with 91 additions and 97 deletions
|
@ -1022,10 +1022,7 @@ pub fn constrain_expr(
|
|||
|
||||
let opaque_type = Type::Alias {
|
||||
symbol: *name,
|
||||
type_arguments: type_arguments
|
||||
.iter()
|
||||
.map(|v| ("".into(), Type::Variable(*v)))
|
||||
.collect(),
|
||||
type_arguments: type_arguments.iter().copied().map(Type::Variable).collect(),
|
||||
lambda_set_variables: lambda_set_variables.clone(),
|
||||
actual: Box::new(arg_type.clone()),
|
||||
kind: AliasKind::Opaque,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue