Ticket #71 (closed enhancement: fixed)

Opened 7 months ago

Last modified 7 months ago

Assert should be a statement

Reported by: JarrettBillingsley Assigned to: JarrettBillingsley
Priority: normal Milestone: MiniD 2
Component: Language Keywords:
Cc:

Description

Making assert a statement offers some nice perks: they can be shut off for release code at the compilation stage, and they can be more efficient by only evaluating the message if the condition is false (rather than with the function, where the message is evaluated every time the assertion is checked).

Change History

04/30/08 13:11:26 changed by JarrettBillingsley

  • status changed from new to closed.
  • resolution set to fixed.

(In [298]) Closes #71. Also merged in the floating-point reflexive math bugfix from MD1. Have to do more of those.