[Swift-devel] assertion behavior

Tim Armstrong tim.g.armstrong at gmail.com
Wed Mar 25 22:24:59 CDT 2015


The program terminates immediately with an error message.

There's a compile-time option to disable assertions if needed.  It's
actually a little weird in that it syntactically removes the statement - it
doesn't evaluate the arguments to the funciton.

- Tim

On 25 March 2015 at 22:09, Mihael Hategan <hategan at mcs.anl.gov> wrote:

> Hi,
>
> In Swift/T, what happens when an assertion fails?
>
> Mihael
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20150325/c1d17dcc/attachment.html>


More information about the Swift-devel mailing list