I'm trying to do a nested recursive function but when I compile, the compiler crash (Segmentation fault).
Here is my code :
func test()
{
func inner(val : Int)
{
println("\(val)")
if val > 0
{
inner(val - 1)
}
}
inner(3)
}
And the compiler logs are here