Skip to content

Commit

Permalink
Fix silent extraction issue with Dotty
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Jul 2, 2019
1 parent d603698 commit b5a1aeb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontends/benchmarks/verification/invalid/PreInPre.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ import stainless.annotation._
import stainless.collection._

object PreInPre {

@induct
def f(t: List[BigInt], st: BigInt) {
def f(t: List[BigInt], st: BigInt): Unit = {
require(t.head == st)
()
}

}

0 comments on commit b5a1aeb

Please sign in to comment.