mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
add logic to generate/solve closure size constraints
This commit is contained in:
parent
bb6f36ad28
commit
05d1f28e83
8 changed files with 455 additions and 2 deletions
|
@ -882,6 +882,11 @@ fn add_category<'b>(
|
|||
|
||||
Lambda => alloc.concat(vec![this_is, alloc.text(" an anonymous function of type:")]),
|
||||
|
||||
ClosureSize => alloc.concat(vec![
|
||||
this_is,
|
||||
alloc.text(" the closure size of a function of type:"),
|
||||
]),
|
||||
|
||||
TagApply {
|
||||
tag_name: TagName::Global(name),
|
||||
args_count: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue