After trying to retrieve scaladoc for 'millis', the compiler will show a spurious error:
It does not happen after hyperlinking, so it seems that whatever computation is performed during doc comment retrieval is at fault.
The implicit is defined in a universalt trait, mixed-in in an implicit value class defined inside a package object. Any of these might contribute to the error. Couldn't yet reproduce this in a similar, self-contained project.
package foo
import scala.concurrent.duration._
object Foo {
val xs = 3.millis
}
It does not happen after hyperlinking, so it seems that whatever computation is performed during doc comment retrieval is at fault.
The implicit is defined in a universalt trait, mixed-in in an implicit value class defined inside a package object. Any of these might contribute to the error. Couldn't yet reproduce this in a similar, self-contained project.
Leave a comment
on 2015-09-20 19:49 *
By Iulian Dragos
@jason.zaugg I'll try to minimize this in a presentation compiler test, but this is reproducible (on 2.11.8-SNAPSHOT). It'd be great if you could have a look..
on 2015-12-13 14:45 *
By Simon Schäfer
The problem also happens for the ensime people. Discussion: https://github.com/ensime/ensime-server/issues/1176
on 2015-12-14 16:27 *
By Iulian Dragos
Fixed in https://github.com/scala/scala/pull/4777, should be in the next Scala release.
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|