One of the major differences between 4.5 and 5.0 is how to specify the assertion checking in the ace file or in the project settings window. In 4.5, assertions of a certain type where checked if their level was below the requested level. Here is what the level hierarchy looked like:

  1. require
  2. ensure
  3. loop
  4. check
  5. invariant
  6. all

Meaning that you could not just check one type of assertions. With 5.0 this is now possible and we changed the presentation to follow the cost to evaluate a given type of assertions, the first one being the less expensive:

  1. check
  2. require
  3. ensure
  4. loop
  5. invariant
  6. all

The default assertion level has changed too. Not specifying any assertion level used to be equivalent to selecting the 'require' level. This is not the case any more in 5.0 it will be not checking assertions.

45e5cc54-cc3d-9f21-b73f-462430ae845e
cached: 04/29/2017 3:54:45.000 AM