Skip to content

Adding -Xfatal-warnings #39

@samuelgruetter

Description

@samuelgruetter

Warnings by the Scala compiler often reveal problems with the code, and there's the -Xfatal-warnings option which makes the build fail if there are warnings. Currently, there are no warnings in this project, so we could add the -Xfatal-warnings option without problems, and be sure that further PRs don't introduce any warnings.

I tried to add the option to build.sbt, but it only applies to the root project but not to the examples project. Apparently scalacOptions in ThisBuild means "really only this project without sub-projects". But that would mean that the other options also don't apply to the examples project, which would be bad... /cc @jmhofer @zsxwing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions