Skip to content

Commit

Permalink
Merge pull request #32 from scala-steward/update/scalafmt-core-3.0.0-RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz authored May 11, 2021
2 parents 23258d9 + 54e9b2d commit e0a6a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.0.0-RC1"
version = "3.0.0-RC2"
runner.dialect = scala3
maxColumn = 140
align.preset = some
Expand Down
1 change: 1 addition & 0 deletions plugin/src/main/scala-3/Scala3CompilerApi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ object Scala3CompilerApi:
def mapTemplate(f: Template => Template): ClassContext = copy(t = f(t))

def instance(using Context): Scala3CompilerApi = new Scala3CompilerApi:

def params(clazz: Clazz): List[Param] =
clazz.t.body.collect {
case v: ValDef if v.mods.is(CaseAccessor) => v
Expand Down

0 comments on commit e0a6a6b

Please sign in to comment.