mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
store lambda set in alias types
This commit is contained in:
parent
dad5d5de85
commit
4cefbec5c7
11 changed files with 223 additions and 103 deletions
|
@ -790,8 +790,14 @@ fn type_to_variable(
|
|||
|
||||
tag_union_var
|
||||
}
|
||||
Alias(Symbol::BOOL_BOOL, _, _) => Variable::BOOL,
|
||||
Alias(symbol, args, alias_type) => {
|
||||
|
||||
Type::Alias {
|
||||
symbol,
|
||||
type_arguments: args,
|
||||
actual: alias_type,
|
||||
lambda_set_variables,
|
||||
} => {
|
||||
dbg!(lambda_set_variables);
|
||||
let mut arg_vars = Vec::with_capacity(args.len());
|
||||
|
||||
for (arg, arg_type) in args {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue