Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected variables in the output #2668

Open
josd opened this issue Nov 24, 2024 · 1 comment
Open

unexpected variables in the output #2668

josd opened this issue Nov 24, 2024 · 1 comment

Comments

@josd
Copy link
Contributor

josd commented Nov 24, 2024

We get unexpected variables in the output of the following test

cd /tmp
git clone https://github.com/eyereasoner/eye3
cd eye3
git checkout tags/v1.0.6
scryer-prolog -g run eye3.pl etc/bmt.pl > etc/output/bmt.pl
git diff

So we see

'urn:example:cycle'('urn:example:i0',['urn:example:i12','urn:example:i66','urn:example:i9','urn:example:i12','urn:example:i66','urn:example:i9','urn:example:i12','urn:example:i9','urn:example:i12','urn:example:i9',_1088720]) => true.

instead of

'urn:example:cycle'('urn:example:i0',['urn:example:i12','urn:example:i66','urn:example:i9','urn:example:i12','urn:example:i66','urn:example:i9','urn:example:i12','urn:example:i9','urn:example:i12','urn:example:i9','urn:example:i12']) => true.

that is compared with the output of

tpl -g run eye3.pl etc/bmt.pl > etc/output/bmt.pl

I was not able to make a simplified case to show the issue.

@josd
Copy link
Contributor Author

josd commented Nov 24, 2024

This is tested on

si
OS: Ubuntu 22.04.5 LTS, CPU: AMD Ryzen 5 7520U with Radeon Graphics, RAM: 3705676 kB

and with

scryer-prolog --version
v0.9.4-210-gff034326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant