mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
add closure size variable
This commit is contained in:
parent
0422d565ce
commit
2e1e87ad6a
21 changed files with 546 additions and 262 deletions
|
@ -130,7 +130,9 @@ fn can_annotation_help(
|
|||
references,
|
||||
);
|
||||
|
||||
Type::Function(args, Box::new(ret))
|
||||
let closure = Type::Variable(var_store.fresh());
|
||||
|
||||
Type::Function(args, Box::new(closure), Box::new(ret))
|
||||
}
|
||||
Apply(module_name, ident, type_arguments) => {
|
||||
let symbol = if module_name.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue