Skip to content
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

Disable.symbols should disable both explicits and synthetics #5

Open
olafurpg opened this issue Aug 27, 2018 · 0 comments
Open

Disable.symbols should disable both explicits and synthetics #5

olafurpg opened this issue Aug 27, 2018 · 0 comments

Comments

@olafurpg
Copy link
Contributor

Originally reported in scalacenter/scalafix#703

I'm trying to construct rules to Disable calls to apply on the stdlib collections, e.g.

val thing = List("foo")
thing(0)

but these only show up under synthetics in the semanticdb and I have to use these synthetic rules instead...

   "scala.collection.MapLike#apply(K)."
   "scala.collection.LinearSeqOptimized#apply(Int)."

Is this a bug or is there an explanation for it?

I expected to be able to ban them from Disable.symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant