working AStar

This commit is contained in:
Folkert 2021-02-15 21:34:55 +01:00
parent 9527434be8
commit 13b2c23c01
19 changed files with 578 additions and 81 deletions

View file

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