Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scala compile flags: old "optimize" off; "Xcheckinit" & "unchecked" on
"optimize" was deprecated for Scala 2.12 "Xcheckinit" will throw on uninitialized field access "unchecked" warns on problems caused by type erasure
- Loading branch information
e139222
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having Xcheckinit on is great for debugging, but this is yet another reason to have SBT (#200) because we really need to be able to turn it off for releases. Xcheckinit not only adds instructions to every Scala field access, it actually adds a field to every Scala object since the initialized status of fields needs to be tracked. So great for debugging, terrible for release builds.