remove redundant `val` modifier

This commit is contained in:
xuwei-k 2025-10-06 09:28:27 +09:00
parent 1138926f99
commit 14b7ddf867
3 changed files with 5 additions and 5 deletions

View File

@ -133,9 +133,9 @@ private[sbt] object MainLoop:
// }
enum RunNext:
case ClearGlobalLog(val state: State)
case KeepGlobalLog(val state: State)
case Return(val result: xsbti.MainResult)
case ClearGlobalLog(state: State)
case KeepGlobalLog(state: State)
case Return(result: xsbti.MainResult)
def run(state: State): RunNext =
val exchange = StandardMain.exchange

View File

@ -18,7 +18,7 @@ import org.scalatest.flatspec.AnyFlatSpec
class SingletonCacheSpec extends AnyFlatSpec {
case class ComplexType(val x: Int, y: String, z: List[Int])
case class ComplexType(x: Int, y: String, z: List[Int])
object ComplexType {
given format: JsonFormat[ComplexType] =
new JsonFormat[ComplexType] {

View File

@ -41,7 +41,7 @@ case class SettingsExample() extends Init {
}
/** Usage Example * */
case class SettingsUsage(val settingsExample: SettingsExample) {
case class SettingsUsage(settingsExample: SettingsExample) {
import settingsExample.*
// Define some keys