From 69f0cba7938bf4e84b52d8786350b3768c8e0adb Mon Sep 17 00:00:00 2001 From: Brian Holt Date: Fri, 4 Oct 2024 15:31:13 -0500 Subject: [PATCH] Update Scala 3 to 3.3.4 --- build.sbt | 2 +- src/test/scala-3/bincompat/ShadedGeneratedSmithySpec.scala | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index cf086b6..c42dbdd 100644 --- a/build.sbt +++ b/build.sbt @@ -14,7 +14,7 @@ ThisBuild / developers := List( ) ThisBuild / crossScalaVersions := Seq( "2.13.15", - "3.3.3", + "3.3.4", ) ThisBuild / scalaVersion := crossScalaVersions.value.head ThisBuild / startYear := Option(2018) diff --git a/src/test/scala-3/bincompat/ShadedGeneratedSmithySpec.scala b/src/test/scala-3/bincompat/ShadedGeneratedSmithySpec.scala index da93a0b..117776c 100644 --- a/src/test/scala-3/bincompat/ShadedGeneratedSmithySpec.scala +++ b/src/test/scala-3/bincompat/ShadedGeneratedSmithySpec.scala @@ -21,8 +21,9 @@ class ShadedGeneratedSmithySpec extends FunSuite { assertNoDiff(compileErrors("""assertEquals(com.dwolla.config.smithy_shaded.com.amazonaws.kms.KMS.id, smithy4s.ShapeId("com.dwolla.config.smithy_shaded.com.amazonaws.kms", "TrentService"))"""), """error: |value KMS in package com.dwolla.config.smithy_shaded.com².amazonaws.kms cannot be accessed as a member of com.dwolla.config.smithy_shaded.com².amazonaws.kms.type from class ShadedGeneratedSmithySpec. + | private[config] value KMS can only be accessed from package com.dwolla.config in package com.dwolla. | - |where: com is a package + |where: com is a package in the empty package | com² is a package in package com.dwolla.config.smithy_shaded |assertEquals(com.dwolla.config.smithy_shaded.com.amazonaws.kms.KMS.id, smithy4s.ShapeId("com.dwolla.config.smithy_shaded.com.amazonaws.kms", "TrentService")) | ^