From 57317da7ac27f58060101344100518e2af20a93a Mon Sep 17 00:00:00 2001 From: "scala-center-steward[bot]" <111975575+scala-center-steward[bot]@users.noreply.github.com> Date: Thu, 1 Jun 2023 00:26:35 +0000 Subject: [PATCH] Update scala3-compiler to 3.3.0 --- project/Dependencies.scala | 2 +- .../main/scala-3/scalafix/internal/reflect/RuleCompiler.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 460aefb00..e1164437b 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -9,7 +9,7 @@ import scala.util.Try object Dependencies { val scala212 = "2.12.17" val scala213 = "2.13.10" - val scala3 = "3.2.2" + val scala3 = "3.3.0" val buildScalaVersions = Seq(scala212, scala213, scala3) val buildWithTargetVersions: Seq[(String, String)] = diff --git a/scalafix-reflect/src/main/scala-3/scalafix/internal/reflect/RuleCompiler.scala b/scalafix-reflect/src/main/scala-3/scalafix/internal/reflect/RuleCompiler.scala index e34552bf9..944867c2d 100644 --- a/scalafix-reflect/src/main/scala-3/scalafix/internal/reflect/RuleCompiler.scala +++ b/scalafix-reflect/src/main/scala-3/scalafix/internal/reflect/RuleCompiler.scala @@ -64,7 +64,7 @@ class RuleCompiler( "to use the Scala 2.x compiler instead, use the corresponding " + "scalafix-cli artifact or force scalafixScalaBinaryVersion " + "to 2.x in your build tool" - val errors = (reporter.allErrors.map(_.getMessage) :+ lastError) + val errors = (reporter.allErrors.map(_.message) :+ lastError) ConfError.apply(errors.map(ConfError.message)).map(_.notOk).get }