bugGNU Octave - Bugs: bug #52989, classdef: missing error messages...


bug #52989: classdef: missing error messages on multiply defined properties

Submitted by:  A.R. Burgers <arb>
Submitted on:  Sat 27 Jan 2018 10:34:25 PM UTC  
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Missed Error or Warning
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 28 Jan 2018 09:30:08 PM UTC, comment #1:

Here is a tentative patch, with which produces an error when an attempt is made to create a property when a property with that name is already present in the class or any of the superclasses:

A.R. Burgers <arb>
Sat 27 Jan 2018 10:34:25 PM UTC, original submission:

octave happily parses this class:

A side effect of the multiply defined properties is that method f can not be found: the next script

A.R. Burgers <arb>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by arb (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1