Closed m50d closed 6 years ago
compile phases are determined late, including plugin contributions https://github.com/scala/scala/blob/2.12.x/src/compiler/scala/tools/nsc/Global.scala#L668
let me know if you see an easy way to validate that w/o actual compile start
otherwise it is a wont fix
Yeah I wouldn't expect the plugin to determine phases. Rhe issue is that I misspelled the argument (-Xprint-phases
rather than-Xshow-phases
) and got an NPE, whereas I would expect that to give a specific error message saying which argument was wrong.
NPE when adding nonexistent argument (
-Xprint-phases
) to zincOptionsScala in 1.4.0Minor but I misspelled a compiler argument while testing, and got an NPE rather than a clear error: