Skip to content

Errors from compiler warnings don't make compilation process fail #3735

Open
@prolativ

Description

@prolativ

Version(s)
1.8.1

Describe the bug
Compilation errors originating from warnings do not fail the compilation process when compiling with bloop

To Reproduce

//> using scala 3.7.0
//> using options -Werror -Wunused:all

def foo =
  val x = 1
  2

scala-cli compile .

Expected behaviour
The exit code should NOT be 0.
The problem does not occur when compiling with --server=false

Metadata

Metadata

Assignees

Labels

BloopIssues tied with Bloop integration.blocked upstreamIssues and changes blocked by something in an external project.bugSomething isn't workingscalac compatibilityIssues tied with compatibility with the scalac (compiler) command.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions