This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove -Xcheckinit scalac option
The sbt-tpoletcat plugin enables the -Xcheckinit scalacOption. This option causes scalac to wrap field accessors so they throw an exception on uninitialized access. Unfortunately, the error message generated in this exception includes an absolute path to scala files, which is a constant stored in byte code. This means different build systems create different bytecode due to different paths, and so builds are not reproducible. By removing it, we lose checks for unitialized accesses, but that seems unlikely and not worth the loss of reproducibility. Closes #92
- Loading branch information
Showing 1 changed file with 3 additions and 0 deletions.