<commit_before>swift-compiler-crashes
======================

This repo collects known test cases crashing the Swift compiler. All tests cases in the `crashes/` directory are known to generate a compiler crash under Xcode6-Beta6 when being compiled.

Help us towards a rock solid Swift compiler by contributing any compiler crashes you may encounter.

Happy Swifting! :-)

Getting started
===============

```
$ git clone https://github.com/practicalswift/swift-compiler-crashes.git
$ cd swift-compiler-crashes/
$ ./test.sh

Running tests against: swift-600.0.47.8
    Using Xcode found at path: /Applications/Xcode6-Beta6.app/Contents/Developer/

== Currently Known Crashes ==

    ✘  boolean operator
    ✘  circular protocol reference
    ✘  class referencing protocol referencing class
    ✘  convenience init in extension
    ✘  dynamic type
    ✘  enum in generic type
    ✘  fixpoint of higher order function
    ✘  function returning itself
    ✘  function taking itself as argument
    ✘  generic enum referencing itself in case
    ✘  generic function with nested type
    ✘  placeholder property initializer with closure
    ✘  protocol class func dot type
    ✘  protocol conforming to itself
    ✘  recursive call
    ✘  sequencetype
    ✘  type parameter resolved to protocol
    ✘  typealias referencing itself

== Crashes Fixed in Previous Release ==

** CRASH-TESTS FAILED: 18 of 18 crashed **

```

Contributor hall of fame
========================

| Contributor | Twitter | Cases contributed | Started contributing |
| :---------- | :------ | ----------------: | -------------------: |
| <a href="https://github.com/practicalswift">practicalswift</a> – practicalswift | <a href="https://twitter.com/practicalswift">@practicalswift</a> | 14 test cases | Xcode6-Beta6 |
| <a href="https://github.com/0xc010d">0xc010d</a> – <NAME> | <a href="https://twitter.com/0xc010d">@0xc010d</a> | 1 test case | Xcode6-Beta6 |
| <a href="https://github.com/AlexDenisov">AlexDenisov</a> – <NAME> | <a href="https://twitter.com/1101_debian">@1101_debian</a> | 1 test case | Xcode6-Beta6 |
| <a href="https://github.com/jvasileff">jvasileff</a> – <NAME> | <a href="https://twitter.com/jvasileff">@jvasileff</a> | 1 test case | Xcode6-Beta6 |
| <a href="https://github.com/owensd">owensd</a> – <NAME> | <a href="https://twitter.com/owensd">@owensd</a> | 1 test case | Xcode6-Beta6 |<commit_msg>Updated example test runner output.<commit_after>swift-compiler-crashes
======================

This repo collects known test cases crashing the Swift compiler. All tests cases in the `crashes/` directory are known to generate a compiler crash under Xcode6-Beta6 when being compiled.

Help us towards a rock solid Swift compiler by contributing any compiler crashes you may encounter.

Happy Swifting! :-)

Getting started
===============

```
$ git clone https://github.com/practicalswift/swift-compiler-crashes.git
$ cd swift-compiler-crashes/
$ ./test.sh

Running tests against: swift-600.0.47.8
    Using Xcode found at path: /Applications/Xcode6-Beta6.app/Contents/Developer/

== Currently Known Crashes ==

    ✘  001 protocol conforming to itself
    ✘  002 function returning itself
    ✘  003 sequencetype
    ✘  004 function taking itself as argument
    ✘  005 recursive call
    ✘  006 placeholder property initializer with closure
    ✘  007 convenience init in extension
    ✘  008 boolean operator
    ✘  009 class referencing protocol referencing class
    ✘  010 circular protocol reference
    ✘  011 protocol class func dot type
    ✘  012 fixpoint of higher order function
    ✘  013 dynamic type
    ✘  014 enum in generic type
    ✘  015 generic enum referencing itself in case
    ✘  016 typealias referencing itself
    ✘  017 type parameter resolved to protocol
    ✘  018 generic function with nested type
    ✘  019 class hierarchy type confusion
    ✘  020 class extending itself
    ✘  021 generic class referencing itself
    ✘  022 generic class referencing itself with verbose syntax

== Crashes Fixed in Previous Release ==

** CRASH-TESTS FAILED: 22 of 22 crashed **

```

Contributor hall of fame
========================

| Contributor | Twitter | Cases contributed | Started contributing |
| :---------- | :------ | ----------------: | -------------------: |
| <a href="https://github.com/practicalswift">practicalswift</a> – practicalswift | <a href="https://twitter.com/practicalswift">@practicalswift</a> | 18 test cases | Xcode6-Beta6 |
| <a href="https://github.com/0xc010d">0xc010d</a> – <NAME> | <a href="https://twitter.com/0xc010d">@0xc010d</a> | 1 test case | Xcode6-Beta6 |
| <a href="https://github.com/AlexDenisov">AlexDenisov</a> – <NAME> | <a href="https://twitter.com/1101_debian">@1101_debian</a> | 1 test case | Xcode6-Beta6 |
| <a href="https://github.com/jvasileff">jvasileff</a> – <NAME> | <a href="https://twitter.com/jvasileff">@jvasileff</a> | 1 test case | Xcode6-Beta6 |
| <a href="https://github.com/owensd">owensd</a> – <NAME> | <a href="https://twitter.com/owensd">@owensd</a> | 1 test case | Xcode6-Beta6 |
{'fraction_non_alphanumeric': 0.15449881610102603, 'fraction_numerical': 0.03472770323599053, 'mean_word_length': 3.5097864768683276, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 22, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5744180', 'n_tokens_mistral': 1748, 'n_tokens_neox': 1572, 'n_words': 502}