lightbend / genjavadoc

A compiler plugin for generating doc’able Java source from Scala source
Other
58 stars 32 forks source link

Don't run genjavadoc while generating scaladoc #167

Closed raboof closed 5 years ago

raboof commented 5 years ago

When generating scaladoc, not the scala compiler is run with a limited set of phases. Notably, it runs it without the 'fields' phase which genjavadoc depends on, disabling genjavadoc while producing the warning dropping dependency on node with no phase object: fields. When you have -Xfatal-warnings enabled, this then leads to an error.

Inspired by https://github.com/HairyFotr/linter/issues/23