|
From: | Michael Goffioul |
Subject: | Re: Regression in classdef superclassref |
Date: | Fri, 17 May 2013 20:32:42 -0400 |
This problem should be fixed at this changeset:On 05/12/2013 06:43 PM, John W. Eaton wrote:
On 05/12/2013 05:59 PM, Michael Goffioul wrote:
John,
Could you give me a hand? I just recompiled classdef branch (updated
today, no patch applied). However, when trying to run superclass
constructor from a derived class constructor, I get an assertion error
in the parser. This used to work before. The test case is the following:
ClassA.m:
classdef ClassA
methods
function obj = ClassA()
disp('ClassA constructor');
end
end
end
ClassB.m:
classdef ClassB < ClassA
methods
function obj = ClassB()
disp('ClassB constructor');
obj = address@hidden();
end
end
end
At octave prompt:
octave-cli:1> b = ClassB()
ange-erroru: ../../libinterp/parse-tree/token.cc:190: std::string
token::superclass_method_name(): Assertion `type_tag == scls_name_token'
failed.
Aborted (core dumped)
It's probably the result of a botched merge. I'll take a look.
http://hg.savannah.gnu.org/hgweb/octave/rev/450c03932d6c
[Prev in Thread] | Current Thread | [Next in Thread] |