A compiler crash

crash_comp

Perfect code does not exist and the swift compiler too has, as of today, some bugs.

I tried the following short code and, boom! It caused a crash (segmentation fault 11):

Try yourself in XCode 6.0.1 (6A317) or XCode 6.1 (6A1046a) and if you find other compiler crashes don’t forget to report them to the swift-compiler-crashes project (mantained by @practicalswift).

Simplified version of the test:

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Valerio Ferrucci

Valerio Ferrucci (valfer) develops software on Apple Macintosh since the 1990s until today for MacOS, OSX and, since some years, iOS. He is also a Web (PHP/MySQL/JS/CSS) and Android Developer.

More Posts - Website

Follow Me:
TwitterFacebookLinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *