octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an in


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #61841] rethrowing an exception leads to an internal error
Date: Mon, 17 Jan 2022 12:15:08 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0

Follow-up Comment #4, bug #61841 (project octave):

The problem seems to be that the column field in the stack is expected to be
an int, not an empty matrix like in that case. E.g the following works


f = @(x) x+1;

try
  f(1, 2)
catch ME
  ME.stack(1).column = -1;
  rethrow(ME)
end



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61841>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]