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

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

[Octave-bug-tracker] [bug #49642] rethrow (lasterror ()) loses stack inf


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49642] rethrow (lasterror ()) loses stack information from previous error structure
Date: Sat, 17 Dec 2016 20:35:43 -0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #5, bug #49642 (project octave):

Here is a simpler example to demonstrate the error


>> union ({'a'}, 1)
error: union: cell array of strings cannot be combined with a nonstring value
error: called from
    validsetargs at line 39 column 9
    union at line 51 column 8
>> lasterror.stack.file
ans = /opt/gnu/octave/share/octave/4.2.0/m/set/private/validsetargs.m
ans = /opt/gnu/octave/share/octave/4.2.0/m/set/union.m
>> rethrow (lasterror ())
union: cell array of strings cannot be combined with a nonstring value
>> lasterror.stack.file
## nothing


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49642>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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