octave-maintainers
[Top][All Lists]
Advanced

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

Regression in classdef superclassref


From: Michael Goffioul
Subject: Regression in classdef superclassref
Date: Sun, 12 May 2013 17:59:27 -0400

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)

Michael.


reply via email to

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