Joost Diepenmaat wrote:
>  ./ruby -e 'def bla(); bla(); end; bla()'
> -e:1:in `bla': stack level too deep (SystemStackError)
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>          ... 7692 levels...
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>         from -e:1:in `bla'
>         from -e:1:in `<main>'

On my machine:

ruby -e 'def bla(); bla(); end; bla()'
-e:1:in `bla': stack level too deep (SystemStackError)
        from -e:1:in `bla'
        from -e:1

I use Ruby version from windows one-click installer, 1.8.6.

-- 
Posted via http://www.ruby-forum.com/.