Some error output going to stdout

21 views
Skip to first unread message

Woosuk Kwak (Bubbler)

unread,
Jun 18, 2025, 11:56:36 PMJun 18
to Picat

It looks like parts of some error messages are printed to stdout. I think they should all go to stderr instead.

Syntax error example:

main?

stderr:

*** SYNTAX ERROR *** (1-1) wrong rule. main?<<HERE>> *** error(syntax_error,picat)

stdout:

1 error(s)

Similar problem seems to exist with other kinds of errors, such as those caused by main=>1. or main=>A=[],print(A[1]).

Reply all
Reply to author
Forward
0 new messages