title: nested recursive function in swift
body: <p>I'm trying to do a nested recursive function but when I compile, the compiler crash (Segmentation fault).</p>
  
  <p>Here is my code :</p>
  
  <pre><code>func test()
  {
      func inner(val : Int)
      {
          println("\(val)")
          if val &gt; 0
          {
             inner(val - 1)
          }
      }
      inner(3)
  }
  </code></pre>
  
  <p>And the compiler logs <a href="http://pastebin.com/rBgtxuJv">are here</a></p>