Closed atteson closed 10 years ago
Ah, default argument values didn't exist when I wrote this so I'm sure that the AST analysis code doesn't understand them. I will see if I get some time to look at this.
I think that 2881d5dbc290bf0324fd1ba1b89b431cd96ea64f should fix this. Please tell me if it doesn't.
I can't seem to see variables which have default values in the debugger as demonstrated by the following code:
using Debug
@debug function sumpow( n::Int, p::Int = 1 ) @bp n^p + sumpow( n-1, p ) end
sumpow( 10 )