Skip to content

Can't run on scalafix #17

@pjrt

Description

@pjrt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions