octave-maintainers
[Top][All Lists]
Advanced

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

Errors from methods re-raise "method failed" error


From: Colin Macdonald
Subject: Errors from methods re-raise "method failed" error
Date: Sun, 10 Jan 2016 10:37:47 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Hi,

Errors raised in class methods have started displaying an additional
"error: class/method method failed" message.  This breaks existing
"%!error <expected>" tests.

Is the change intentional?  I can file a bug, but thought I'd check first...

Here is an example:

Octave hg tip:

>> [q v]
error: ShapeError: `self` and `rhs` must have the same number of rows.
error: sym/horzcat method failed    <--- **NOTE EXTRA ERROR**
error: called from
    horzcat at line 53 column 5

Octave 4.0.0:

>> [q v]
error: ShapeError: `self` and `rhs` must have the same number of rows.
error: called from
    horzcat at line 53 column 5

thanks,
Colin



reply via email to

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