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

Unable to disable string interpolation #1

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

Unable to disable string interpolation #1

olafurpg opened this issue Aug 27, 2018 · 0 comments

Comments

@olafurpg
Copy link
Contributor

Originally reported in scalacenter/scalafix#803

I want to disable the default string interpolation.

metap tells me that it is this symbol

[52:20..52:21) => scala/StringContext#s().

but this rule fails to work in either Disable.symbols or Disable.ifSynthetic

  {
    symbol = "scala/StringContext#s()."
    message = "use the safe `z`, `cord` and `str` interpolators"
  }
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