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

prolog multiline output broken #88

Open
azrdev opened this issue Aug 26, 2021 · 0 comments
Open

prolog multiline output broken #88

azrdev opened this issue Aug 26, 2021 · 0 comments

Comments

@azrdev
Copy link

azrdev commented Aug 26, 2021

A prolog query that returns multiple results prints an error.

Example: https://tio.run/##KyjKz8lP1y0uz/z/vyS1uETDUFOPC8wwAjKgYhGaegA

input

test(X).

Code (broken)

test(1).
test(2).

Debug


ERROR: Type error: `character_code' expected, found `-1' (an integer)
ERROR: In:
ERROR:   [11] char_code(_2404,-1)
ERROR:   [10] '$in_reply'(-1,'?h') at /opt/prolog-swi/lib/swipl/boot/init.pl:846

Real time: 0.202 s
User time: 0.088 s
Sys. time: 0.014 s
CPU share: 49.97 %
Exit code: 0
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