1
Vote

Exception handling bug

description

I'm facing with some bug in IronRuby core on Windows Phone platform.
below code i call using IronRuby engine
 
"def test(*args);puts 'aaaa';raise ArgumentError, 'Error';end;begin;test;rescue => e;puts 'caught';end;"
 
the thing is that if we use optional parameters in function 'test' like this *args then IronRuby engine doesnt find handler for exception. I mean this handler rescue => e;puts 'caught';end;
but if we use this signature without optional parameters 'test(args)' all works fine
 
Can you pls help?
 
Regards,
Konstantin Rybas

comments