Fix CI compile errors

This commit is contained in:
Friendseeker 2024-10-21 15:41:34 -07:00 committed by Jerry Tan
parent ed23024c75
commit f87ffc8042
4 changed files with 1 additions and 4 deletions

View File

@ -18,7 +18,7 @@ object JLineTest {
val four = token("color" ~> Space) ~> token(ID, "<color name>")
val num = token(NatBasic)
val five = (num ~ token("+" | "-") ~ num) <~ token('=') flatMap {
val five = (num ~ token("+" | "-") ~ num) <~ token('=') collect {
case a ~ "+" ~ b => token((a + b).toString)
case a ~ "-" ~ b => token((a - b).toString)
}

View File

@ -22,7 +22,6 @@ import sjsonnew.{
LNil,
Unbuilder,
deserializationError,
flatUnionFormat4
}
import sbt.util.Logger

View File

@ -9,7 +9,6 @@
package sbt.test
import sbt._
import sbt.Def.Initialize
object TupleSyntaxTest:
def t1[A](a: SettingKey[A], b: TaskKey[A], c: Def.Initialize[A], d: Def.Initialize[Task[A]]) = {

View File

@ -32,7 +32,6 @@ end UseTask
object Assign {
import java.io.File
import sbt.std.FullInstance.given
import Def.{
Initialize,
inputKey,