-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cyclic reference error when using doc but not compile #14059
Comments
This bug is not directly related to doctool. The problem lies in compilation from tasty which is run by Scaladoc under the hood. scalac -classpath <classpath_from_sbt> --from-tasty target/scala-3.1.2-RC1-bin-20211213-8e1054e-NIGHTLY/classes/example/DottyCylicalRefError.tasty produces the same error:
|
smarter
added a commit
that referenced
this issue
Feb 16, 2023
…lookup (#16882) Previously, the call to `info` on the module val could lead to a cycle since the module val might be in the process of being completed. This commit fixes this by only using the module class which is all we need to lookup members. Fixes #15288. Fixes #14059. Co-Authored-By: Tom Grigg <tomegrigg@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.1.0
Minimized code
Based on https://github.com/chadselph/reproduce-dotty-cyclical-error
Output
Expectation
No cyclic reference as
compile
passes fine.The text was updated successfully, but these errors were encountered: