mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
![]() Previously, if the lambda set passed to a HOLL contained any function that captured, we would assume that the specialization of the HOLL we should make for each function in the lambda set that we dispatch to should capture. This is not right. Instead, we should specialize for each lambda in the set passed to the HOLL. The present patch enforces that, making sure that for each lambda in the set, we compute the exact proc layout needed to call the lambda, based on the captures of the specific lambda in the set, rather than looking at the set entirely. |
||
---|---|---|
.. | ||
generated | ||
src | ||
Cargo.toml |