Closed pmoura closed 1 year ago
Hi Paulo,
Bug in the implementation of ~c (code): the following calls are expected to print an A: | ?- format("~c", [65]).
yes | ?- format('~c', [65]).
yes
In this case, I don’t think there's a bug:
| ?- format("~c", [65]), flush_output. A
yes
cheers, -spa
Hi Salvador.
Interesting. But other Prolog systems don't require a call to flush_output/0
(or flush_output/1
for format/3
calls).
Additionally, the test definition implicitly closes the output stream, which is expected to flush any pending output.
Fixes confirmed. Thanks!
Bug in the implementation of
~c
(code): the following calls are expected to print anA
:Bug in the implementation of
~i
(ignore): the following calls are expected to omit the middle argument and thus printac
: