mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Implement a cache policy - don't cache recursive pointers without a recursive layout
This commit is contained in:
parent
eb5ec2bd98
commit
3856ea6199
3 changed files with 514 additions and 333 deletions
|
@ -5990,7 +5990,7 @@ fn register_capturing_closure<'a>(
|
|||
let captured_symbols = match *env.subs.get_content_without_compacting(function_type) {
|
||||
Content::Structure(FlatType::Func(_, closure_var, _)) => {
|
||||
let lambda_set_layout = {
|
||||
LambdaSet::from_var(
|
||||
LambdaSet::from_var_pub(
|
||||
layout_cache,
|
||||
env.arena,
|
||||
env.subs,
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue