forked from scalacenter/scalafix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scalacenter#493, handle synthetics and symbol signatures in Disable.
Previously, Disable reported an error on the positions of any ResolvedName to a disabled symbol, including Input.Synthetic and Input.Denotation which are invisible and don't appear in the source file. Now Disable ignores symbol signatures and for synthetics it points a caret at the position where the synthetic got expanded and includes the pretty-printed representation of the synthetic to help make sense of the error message.
- Loading branch information
Showing
2 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters