-
Notifications
You must be signed in to change notification settings - Fork 185
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
Make NoAutoTupling work with Function1 #147
Comments
I just realized that this is still an issue when the Function1 is defined in a 3rd party library, a minimal repro is here 112a355 The problem happens when we don't have access to the denotation. We currently only store denotations for symbols compiled with the Scalahost compiler plugin enabled. I think we should keep this issue open. I believe a long-term solution to this issue would be to use reported compiler warnings, as proposed #194. |
Right, I'll investigate further on the subject, but I think we'll need a scalameta "hack" to get the caret positions of those messages. |
Yeah, we can accommodate on the Scalameta side to make the positions of the reported messages more accurate. |
Seems scalameta/scalameta#930 is a go, which means we will store the denotations for all used symbols per .semanticdb file. |
Cool! I still think compiler messages would be much more accurate than any name/denotation based approach, but that feature is certainly going to help in the future. |
Is this fixed now that we use messages? |
Yes! |
See the discussion here and here.
The failing cases (rewrite not applied) are
and
This is currently blocked by scalameta/scalameta#837We can tackle this in two ways:
The text was updated successfully, but these errors were encountered: