lightbend / genjavadoc

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

Problems when running with -Yrangepos #220

Closed raboof closed 3 years ago

raboof commented 4 years ago

It seems that when compiling with -Yrangepos comments are no longer correctly associated with the right elements. Tested with akka-cluster-typed/src/main/scala/akka/cluster/ddata/typed/javadsl/Replicator.scala in Akka.

For now perhaps we should throw an error when -Yrangepos is enabled? Though that's only a temporary solution since rangepos might be enabled by default in the future

marcospereira commented 3 years ago

See some additional conversation here: https://github.com/lightbend/genjavadoc/issues/264.

Though that's only a temporary solution since rangepos might be enabled by default in the future

Alright, rangepos is now the default. :-)