octave-maintainers
[Top][All Lists]
Advanced

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

Re: Regression in classdef superclassref


From: Michael Goffioul
Subject: Re: Regression in classdef superclassref
Date: Fri, 17 May 2013 20:32:42 -0400

On Sun, May 12, 2013 at 10:09 PM, John W. Eaton <address@hidden> wrote:
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.

This problem should be fixed at this changeset:

  http://hg.savannah.gnu.org/hgweb/octave/rev/450c03932d6c

Yes, it does. Thanks.

Michael.


reply via email to

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