From b130cbcd058a662afc91621baf39dfb60498eb0d Mon Sep 17 00:00:00 2001 From: eugene yokota Date: Mon, 27 Jul 2026 00:02:28 -0400 Subject: [PATCH] [2.x] Use sbt 2.0.4 (#9512) --- project/DatatypeConfig.scala | 4 ++-- project/build.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project/DatatypeConfig.scala b/project/DatatypeConfig.scala index 80af36187..845bcdd47 100644 --- a/project/DatatypeConfig.scala +++ b/project/DatatypeConfig.scala @@ -6,14 +6,14 @@ object DatatypeConfig { /** Extract the only type parameter from a TpeRef */ def oneArg(tpe: Type): Type = { val pat = s"""${tpe.removeTypeParameters.name}[<\\[](.+?)[>\\]]""".r - val pat(arg0) = tpe.name + val pat(arg0) = tpe.name.runtimeChecked NamedType(arg0.split('.').toList) } /** Extract the two type parameters from a TpeRef */ def twoArgs(tpe: Type): List[Type] = { val pat = s"""${tpe.removeTypeParameters.name}[<\\[](.+?), (.+?)[>\\]]""".r - val pat(arg0, arg1) = tpe.name + val pat(arg0, arg1) = tpe.name.runtimeChecked NamedType(arg0.split('.').toList) :: NamedType(arg1.split('.').toList) :: Nil } diff --git a/project/build.properties b/project/build.properties index 3b9dfab0d..a0cc54fb1 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=2.0.3 +sbt.version=2.0.4