You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//>usingscala3.5.0-RC2packagevecxtexportRetentions.*objectRetentions:opaquetypeRetention=Doubleextension (x: Retention)
inlinedefretention:Double= x
endRetentions
Now this command scala-cli doc ext.ret.scala -o scaladoc -f
gives me this;
Output
Although it doesn't crash, it also doesn't provide any scala doc. I think it should, as it compiles?
Compiling project (Scala 3.5.0-RC2, JVM (21))
Compiled project (Scala 3.5.0-RC2, JVM (21))
class vecxt.ext.ret$package cannot be unpickled because no class file was found for denot: val <none>
1 error found
Wrote Scaladoc to ./scaladoc
Expectation
Generates scaladoc.
Workaround
Change the name of the file, to be ret.scala instead of ext.ret.scala. If the file is ret.scala then scaladoc seems successfully generated.
I believe however, that the second filename, should also be valid?
Compiler version
3.5.0-RC2
Minimized code
save this, in ext.ret.scala
Now this command
scala-cli doc ext.ret.scala -o scaladoc -f
gives me this;
Output
Although it doesn't crash, it also doesn't provide any scala doc. I think it should, as it compiles?
Expectation
Generates scaladoc.
Workaround
Change the name of the file, to be
ret.scala
instead ofext.ret.scala
. If the file isret.scala
then scaladoc seems successfully generated.I believe however, that the second filename, should also be valid?
Prior art / duplicate of?
#16036
Which is closed - although I get this with scala 3.5.0-RC2. I'm unclear if it's the same or a different issue.
The text was updated successfully, but these errors were encountered: