Skip to content

Enable -Werror with fatal warnings#55

Merged
speedcom merged 1 commit intomainfrom
fatal-warnings
Mar 6, 2026
Merged

Enable -Werror with fatal warnings#55
speedcom merged 1 commit intomainfrom
fatal-warnings

Conversation

@speedcom
Copy link
Contributor

@speedcom speedcom commented Mar 6, 2026

Summary

  • Add -Werror to scalacOptions — warnings now fail compilation
  • Suppress ScalaTest infix DSL warnings (shouldBe, should be) via -Wconf (library issue, not our code)
  • Fix 4 pattern-match narrowing warnings in HouseholdSpec by replacing Some(pbf) destructuring with .get

Test plan

  • sbt compile "Test / compile" — zero warnings, zero errors
  • sbt test — all 1250 tests pass

@speedcom speedcom merged commit c2ce449 into main Mar 6, 2026
2 checks passed
@speedcom speedcom deleted the fatal-warnings branch March 6, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant