-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Wrong position in SourceFiles from TASTY #11547
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
Apparently this problem exists only for me, although I have fetched the newest master, cleaned sbt and cleaned git. |
Apparently it's not only for me, though it's kind of nondeterministic. I have found Predef from https://dotty.epfl.ch/api/scala/Predef$.html is having wrong source, though line of code we take directly from Tasty Position. All the issues so far were for scala 2.13.5 sources |
Problem occurs also in |
This issue was picked for the Issue Spree No. 26 of 14 February 2023 which takes place in a week from now. @SethTisue, @jan-pieter, @nmcb will be working on it. If you have any insight into the issue or guidance on how to fix it, please leave it here. |
gah, I am sorry, but something came up and I cannot attend the spree today :-/ |
(I'm still interested in the ticket and perhaps I could help make progress afterwards if the ticket isn't fixable during the spree itself.) |
Did some work on this happen at the spree, or did you guys end up on something else? |
We felt we were missing some context/knowledge and were hoping you could provide that 😉 We ended up switching to a different issue. Perhaps we can pick this up next spree if someone can provide a bit more context (either during the spree or in this issue). Specifically where to paste this code; is this part of a macro or during scaladoc generation? And do we indeed have tasty files for 2.13 sources? |
I asked for this ticket again for the Mar 7 spree. I picked this as a learning opportunity for myself rather than because I'm already an expert, so I don't know the answers to your questions. I hope to have a closer look enough ahead of the spree that we'll have time to switch to something else if this appears to be unsuitable. |
I'm on something else for the spree tomorrow, so I've un-assigned myself. (I'd wouldn't mind being re-selected for it in the future.) |
Compiler version
Scala compiler version 3.0.0-RC2-bin-SNAPSHOT-git-5abd9d9 -- Copyright 2002-2021, LAMP/EPFL
Minimized code
Output
Expectation
The trait related to symbol is located here. The only thing that is correct is
sourceFile
. ThesourceCode
is empty. I know there is more symbols that have problem e. g.object Future
The text was updated successfully, but these errors were encountered: