consider an '$aux' a relation of the unexpanded goal's variables in compile_inline_or_expanded_goal (#2062)

This commit is contained in:
Mark
2023-10-01 17:11:26 -06:00
parent 4a8aa0acbd
commit a1ceeb697a
3 changed files with 8 additions and 9 deletions

View File

@@ -739,7 +739,7 @@ expand_subgoal(UnexpandedGoals, MS, M, ExpandedGoals, HeadVars) :-
expand_module_names(UnexpandedGoals4, MetaSpecs, Module1, ExpandedGoals0, HeadVars)
; ExpandedGoals0 = UnexpandedGoals4
),
'$compile_inline_or_expanded_goal'(ExpandedGoals0, SuppArgs, ExpandedGoals1, Module1),
'$compile_inline_or_expanded_goal'(ExpandedGoals0, SuppArgs, ExpandedGoals1, Module1, UnexpandedGoals0),
expand_module_name(ExpandedGoals1, MS, Module1, ExpandedGoals).