epfl-lara / stainless

Verification framework and tool for higher-order Scala programs
https://epfl-lara.github.io/stainless/
Apache License 2.0
359 stars 53 forks source link

Exception when assertion is the last statement #25

Closed jad-hamza closed 7 years ago

jad-hamza commented 7 years ago

This fails with exception:

Exception in thread "main" inox.ast.Definitions$FunctionLookupException: Lookup failed for function with symbol assert

object Asserting {
  def f() = {
      assert(true)
  }
}
samarion commented 7 years ago

Fixed