Open
Description
Steps to reproduce
Run the "Evaluate..." code lens on the following code
-- >>> putStrLn "Hello"
or
-- >>> hPutStrLn stderr "Hello"
Expected behaviour
It should put
-- Hello
in a comment below, just like it would do with normal return values.
Actual behaviour
In the stderr
case, the output is sent to the debug output together with the logs.
In the stdout
case I believe the output is sent in the LSP channel directly to the editor as is. If you're lucky, the editor's LSP parser will handle the error gracefully instead of just crashing or something.