Skip to content

Commit 073e684

Browse files
garesCohenCyril
authored andcommitted
do not unfold letins in instances
1 parent d749055 commit 073e684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HB/pack.elpi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ synth-instance Params KC KS T Tkey [Factory|Factories] Instance :-
4343
synth-instance Params KC KS T Tkey [] Instance :- coq.safe-dest-app Tkey (global _) _, !,
4444
synthesis.under-local-canonical-mixins-of.do! Tkey [
4545
std.assert-ok! (synthesis.infer-all-args-let Params Tkey KC ClassInstance) "HB.pack: cannot infer the instance",
46-
std.append Params [T, {unwind {hd-beta-zeta ClassInstance []}}] InstanceArgs,
46+
std.append Params [T, ClassInstance] InstanceArgs,
4747
Instance = app[global KS | InstanceArgs]
4848
].
4949
synth-instance Params KC KS T Tkey [] Instance :- std.do! [
5050
std.assert-ok! (synthesis.infer-all-args-let Params Tkey KC ClassInstance) "HB.pack: cannot infer the instance",
51-
std.append Params [T, {unwind {hd-beta-zeta ClassInstance []}}] InstanceArgs,
51+
std.append Params [T, ClassInstance] InstanceArgs,
5252
Instance = app[global KS | InstanceArgs]
5353
].
5454

0 commit comments

Comments
 (0)