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

Can't run on scalafix #17

Open
pjrt opened this issue Nov 21, 2018 · 0 comments
Open

Can't run on scalafix #17

pjrt opened this issue Nov 21, 2018 · 0 comments
Labels

Comments

@pjrt
Copy link
Owner

pjrt commented Nov 21, 2018

Fails with:

Error matching Nil in line val m.Source(m.Pkg(_, stats) :: Nil) = source.transform {
    // Remove bodies from methods like `private def foo: Unit` that can't be abstract.
    case m.Defn.Def(mods, name, tparams, paramss, Some(decltpe), _) =>
      m.Decl.Def(mods, name, tparams, paramss, decltpe)
  }

which is here:

https://github.com/scalacenter/scalafix/blob/ffb57a102a1f3a70c41b51778bb3a4811d3e492b/scalafix-tests/unit/src/test/scala/scalafix/tests/core/PrettyTypeSuite.scala#L31-L35

@pjrt pjrt added the bug label Nov 21, 2018
@pjrt pjrt changed the title Can't run on scalafix ffb57a102a1f3a70c41b51778bb3a4811d3e492b Can't run on scalafix Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant