From 4950462abb1eca874dbbc4be8562aab7e37a2bcf Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Tue, 9 Jun 2026 18:22:09 +0900 Subject: [PATCH] [2.x] Remove type ascription in Continuous (#9314) --- main/src/main/scala/sbt/internal/Continuous.scala | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main/src/main/scala/sbt/internal/Continuous.scala b/main/src/main/scala/sbt/internal/Continuous.scala index 31f86edbd..f6ec0b38d 100644 --- a/main/src/main/scala/sbt/internal/Continuous.scala +++ b/main/src/main/scala/sbt/internal/Continuous.scala @@ -326,10 +326,8 @@ private[sbt] object Continuous { val nextInputEvent: WatchExecutor => Option[Watch.Action] = { parseInputEvents(parser, altParser, state, channel.terminal, logger) } - val (nextFileEvent, cleanupFileMonitor): ( - Int => Option[(Watch.Event, Watch.Action)], - () => Unit - ) = getFileEvents(configs, logger, state, commands, fileStampCache, channel.name) + val (nextFileEvent, cleanupFileMonitor) = + getFileEvents(configs, logger, state, commands, fileStampCache, channel.name) val executor = new WatchExecutor(channel.name) val nextEvent: Int => Watch.Action = combineInputAndFileEvents(