Skip to content

Output should distinguish stdout and stderr #16701

Closed
@som-snytt

Description

@som-snytt

Compiler version

3.2.1

Output

javac --version (and help) is written to stdout, and scalac 2 follows that model of reporting only error output to stderr.

scalac 3 writes all output to stderr.

Expectation

Expect javac behavior. Not sure about the summary 19 errors which is echoed to stdout in scala 2. Edit: scala 2 prints summary count to stderr scala/scala#10272

Would expect debug output -Vprint on stdout. That is, stderr is for the tool to tell me why it could not fulfill my request.

Not sure about scala-cli or sbt compile.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions