-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Tasty stdlib cannot be loaded by the doctool #10143
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
Comments
See changes in the linked PR to find the task responsible for loading stdlib .tasty files. |
Maybe you should depend on it the same way we do on the tests https://github.com/lampepfl/dotty/blob/master/project/Build.scala#L882 |
I don't think that's likely to be the source of the problem. What we do is that we pass Scala3doc the directory with the result of compiling I think it'd help if we discussed this tomorrow. |
There is a failure when trying to get the name of the class of |
Can be reproduced with
|
@nicolasstucki is this expected? I don't remember seeing this error when we tested from-tasty compilation. Is there a gap in how we test I guess that we can circumvent this by manually handling |
@abgruszecki I have a fix for this issue in #10153, but some other things fail afterward. Could you have a look at the new issues? In |
@nicolasstucki what do you exactly mean when you say "things fail afterward"? The CI succeeds and I can't see any commented-out tests, so I guess you mean that running the documentation task still fails when one enables it? |
Yes, running the documentation tests still fails if we uncomment |
@nicolasstucki alright, I hit a snag with trying to read flags of symbol of |
Does not ring a bell |
…irectly-from-jar Fix #10143 and test stdlib from TASTy directly from Jar and TASTy files
When we try to load .tasty files generated by the
stdlib-bootstrapped
project in the doctool, we get a Tasty parse (!) exception:https://github.com/lampepfl/dotty/runs/1341421259?check_suite_focus=true#step:10:970
/cc @nicolasstucki
The text was updated successfully, but these errors were encountered: