consider an '$aux' a relation of the unexpanded goal's variables in compile_inline_or_expanded_goal (#2062)
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user