From 0b6e3d79bd784420a009d21f070dbd2fd9f49e57 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 6 Dec 2021 08:33:47 -0800 Subject: [PATCH] slight code improvement in sbt example --- _overviews/scala3-migration/plugin-kind-projector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-migration/plugin-kind-projector.md b/_overviews/scala3-migration/plugin-kind-projector.md index fc61b05cda..215ccd9843 100644 --- a/_overviews/scala3-migration/plugin-kind-projector.md +++ b/_overviews/scala3-migration/plugin-kind-projector.md @@ -21,7 +21,7 @@ The following `sbt` configuration will set up the correct flags to cross-compile ThisBuild / scalacOptions ++= { CrossVersion.partialVersion(scalaVersion.value) match { case Some((3, _)) => Seq("-Ykind-projector:underscores") - case Some((2, 13)) | Some((2, 12)) => Seq("-Xsource:3", "-P:kind-projector:underscore-placeholders") + case Some((2, 12 | 13)) => Seq("-Xsource:3", "-P:kind-projector:underscore-placeholders") } } ```