Euphoria v2.2Bug
- Posted by Michael Nelson <MichaelANelson at WORLDNET.ATT.NET> Sep 09, 2000
- 418 views
Rob, I noticed this in someone's code, didn't believe it until I tested it out myself. procedure foo(integer foo) end procedure and procedure bar() integer bar end procedure do not generate "attempt to redefine" errors. Why is this happening? Clearly the routine's own name must be in scope within the routine (since recursive calls work), so how can this be allowable? By the way, recursive calls won't work if coded in the examples above, the interpreter assumes the reference to "foo" or "bar" is the variable. -- Mike Nelson