Skip to content

Commit 3a6073f

Browse files
committed
[TC] clean term in decompilation of goal
1 parent 20473a9 commit 3a6073f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/tc/elpi/ho_compile.elpi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,13 +375,13 @@ namespace tc {
375375

376376
decompile-problematic-term (fun N Ty Bo) L (fun N Ty' Bo') L3 :-
377377
(pi x\ fold-map (Bo x) [] (Bo' x) (Lx x)),
378-
close-term-no-prune-ty Lx Ty L1,
378+
close-term-no-prune-ty Lx {tc.compile.instance.clean-term Ty} L1,
379379
fold-map Ty L Ty' L2,
380380
std.append L2 L1 L3.
381381

382382
decompile-problematic-term (prod N Ty Bo) L (prod N Ty' Bo') L3 :-
383383
(pi x\ fold-map (Bo x) [] (Bo' x) (Lx x)),
384-
close-term-no-prune-ty Lx Ty L1,
384+
close-term-no-prune-ty Lx {tc.compile.instance.clean-term Ty} L1,
385385
fold-map Ty L Ty' L2,
386386
std.append L2 L1 L3.
387387

0 commit comments

Comments
 (0)