expand_call_goals/3 should expand meta-predicate subgoals (#2361)

This commit is contained in:
Mark
2024-03-19 17:12:26 -06:00
parent 7b33eafbb0
commit 0292cb73d3
6 changed files with 82 additions and 31 deletions

View File

@@ -0,0 +1,3 @@
:- use_module(issue2361_m).
:- initialization(gs([(length("a",_),length("ab",_))])).

8
tests-pl/issue2361_m.pl Normal file
View File

@@ -0,0 +1,8 @@
:- module(m, [gs/1]).
:- use_module(library(lists)).
gs([]).
gs([G|Gs]) :-
G,
gs(Gs).