Unexpected behavior with built-in

Joel LeBlanc jwleblan at gmail.com
Thu Jul 9 15:07:44 CDT 2009


The current tip (9423:f284e2a26ff9) gives unexpected behavior when I run
built-in.  I am running on OSX (Darwin Kernel Version 9.7.0: Tue Mar 31
22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386 i386
MacBookPro2,2 Darwin).
Sorry about not having the
standard debug format, but bug_report gives (octave-bug-3.1.55: command not
found).

So here is a simple function to replicate my concern:
************************

function builtinFailure



builtin('beep');



end



function beep

disp('Calling overloaded load function: Test Failed!');

end

************************

Running builtinFailure should cause nothing but a beep, but on my system the
message is printed out indicating that the builtin call executed the
sub-function.

Thanks,

~Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090709/1f4cbfca/attachment.html 


More information about the Bug-octave mailing list