Skip to content

Commit

Permalink
Bumped compiler version to 3.5.2 and removed a patmat warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuncak committed Nov 4, 2024
1 parent 89534df commit d8441f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lazy val nTestSuiteParallelism = {

// The Scala version with which Stainless is compiled.
// Note: in case of version bump, do not forget to update the `test` files in `sbt-plugin` (for `sbt scripted`)!
val stainlessScalaVersion = "3.5.0"
val stainlessScalaVersion = "3.5.2"
val frontendDottyVersion = stainlessScalaVersion
// The Stainless libraries use Scala 2.13 and Scala 3.3, and is compatible only with Scala 3.3.
val stainlessLibScalaVersion = stainlessScalaVersion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class FunctionInlining(override val s: Trees, override val t: trace.Trees)
Assert(annotated(cond.setPos(fi), DropVCs), Some(s"Inlined precondition$num of " + tfd.id.asString), acc).setPos(fi),
i-1
)
case (spec, (acc,i)) => context.reporter.fatalError(f"In addPreconditionAssertions, I did not expect spec that is not LetInSpec or Precondition; I got the following spec: ${spec.toString}")
}._1
}

Expand Down

0 comments on commit d8441f3

Please sign in to comment.