octave-maintainers
[Top][All Lists]
Advanced

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

Re: Regression in classdef superclassref


From: John W. Eaton
Subject: Re: Regression in classdef superclassref
Date: Sun, 12 May 2013 18:43:19 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

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.

jwe




reply via email to

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