module-qualify incomplete goals in expand_goal/3
This commit is contained in:
@@ -643,6 +643,7 @@ expand_meta_predicate_subgoals([SG | SGs], [MS | MSs], M, [ESG | ESGs], HeadVars
|
||||
MS >= 0
|
||||
) ->
|
||||
( var(SG),
|
||||
MS =:= 0,
|
||||
pairs:same_key(SG, HeadVars, [_|_], _) ->
|
||||
expand_subgoal(SG, MS, M, ESG, HeadVars)
|
||||
; expand_subgoal(SG, MS, M, ESG0, HeadVars),
|
||||
|
||||
Reference in New Issue
Block a user