mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +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
|
@ -514,10 +514,7 @@ pub fn constrain_pattern(
|
|||
|
||||
let opaque_type = Type::Alias {
|
||||
symbol: *opaque,
|
||||
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_pattern_type.clone()),
|
||||
kind: AliasKind::Opaque,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue