feat: eta expand at specializeApp?
This commit is contained in:
parent
9dede6f632
commit
796e9e3bdd
1 changed files with 1 additions and 0 deletions
|
|
@ -318,6 +318,7 @@ mutual
|
|||
trace[Compiler.specialize.candidate] "params: {params.map fun p => p.binderName}"
|
||||
-- TODO: create cache and check cached results, apply `visitCode` to `specDecl`, return new application
|
||||
let specDecl ← mkSpecDecl decl us paramsInfo params decls args
|
||||
let specDecl ← specDecl.etaExpand
|
||||
let specDecl ← specDecl.simp {} -- TODO: `simp` config
|
||||
modify fun s => { s with decls := s.decls.push specDecl }
|
||||
return none
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue