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

rebis-dev: Unexpected domain error #2586

Open
triska opened this issue Oct 1, 2024 · 0 comments
Open

rebis-dev: Unexpected domain error #2586

triska opened this issue Oct 1, 2024 · 0 comments

Comments

@triska
Copy link
Contributor

triska commented Oct 1, 2024

With the following program:

:- use_module(library(format)).

p(ID, N) :-
        format("~w (~w)... ", [ID,N]).

I get:

?- p(3, 5).
   error(domain_error(write_option,'A'=3),write_term_to_chars/3), unexpected.

It works as expected in master:

?- p(3, 5).
3 (5)...    true.
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