Skip to content

Commit 9692fee

Browse files
committed
ENHANCED: remove the pio-specific goal if it is the only frozen goal
1 parent dcf4c96 commit 9692fee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/pio.pl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,9 @@
250250
; '$unattributed_var'(S1) -> ...(S1,S)
251251
; freeze:get_atts(S1, frozen(Goal)),
252252
nonvar(Goal),
253-
Goal = user:render_step(_,_,_,_) ->
254-
true % for JJ
253+
Goal = pio:render_step(_,_,_,_) ->
254+
% for JJ
255+
freeze:put_atts(S1, -frozen(Goal))
255256
; ...(S1,S) % does this ever happen?
256257
)
257258
).

0 commit comments

Comments
 (0)