mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
working AStar
This commit is contained in:
parent
9527434be8
commit
13b2c23c01
19 changed files with 578 additions and 81 deletions
|
@ -1897,8 +1897,6 @@ fn specialize_external<'a>(
|
|||
|
||||
let internal_layout = closure_layout.internal_layout();
|
||||
|
||||
dbg!(&internal_layout, proc_name);
|
||||
|
||||
match internal_layout {
|
||||
Layout::Union(_) => {
|
||||
// here we rely on the fact that a union in a closure would be stored in a one-element record
|
||||
|
@ -1985,8 +1983,6 @@ fn specialize_external<'a>(
|
|||
|
||||
let symbol = captured[0].0;
|
||||
|
||||
dbg!(_other, symbol);
|
||||
|
||||
substitute_in_exprs(
|
||||
env.arena,
|
||||
&mut specialized_body,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue