Skip to content

Bring back behavior of -Xfatal-warnings #19713

Closed
@odersky

Description

@odersky

Compiler version

Since #19245, -Xfatal-warning became completely useless to me. I critically rely on -Xfatal-warnings in connection with -Xprompt to stop the compilation at the point where a warning was given. I need this every other day. But with the new behavior, -Xfatal-warnings has become useless for this task, since it waits until the very end of the compilation run before anything is reported.

I don't see what the point of these disruptive things to the toolchain is. This change causes me to lose lots of time, and probably will cause problems for others relying on the old behavior as well.

We can institute new behavior for -Werror. But please, let's leave -Xfatal-warnings alone!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions