add logic to generate/solve closure size constraints

This commit is contained in:
Folkert 2020-10-02 20:46:47 +02:00
parent bb6f36ad28
commit 05d1f28e83
8 changed files with 455 additions and 2 deletions

View file

@ -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,