bugGNU Octave - Bugs: bug #44582, classdef: missing support for...

 
 

bug #44582: classdef: missing support for enumeration

Submitted by:  Randall Bass <randyman99>
Submitted on:  Fri 20 Mar 2015 12:00:50 AM UTC  
 
Category: InterpreterSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: randyman99Open/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.

 

Thu 11 Aug 2016 02:25:03 PM UTC, comment #3:

> I don't think it's particularly helpful to have scattered bug reports about which parts of classdef are not implemented yet. I find them distracting. It would be more useful to have a canonical wiki page that outlines what is and what hasn't been implemented.


Octave 4.0 has been released and we now support classdef. Individual bug reports about the missing features are useful again. Reopening this bug with a link to it on the classdef wiki page.

Carnë Draug <carandraug>
Project Member
Fri 20 Mar 2015 02:29:00 PM UTC, comment #2:

There is no classdef support in 3.8.1 and incomplete classdef support on the upcoming 4.0 release.

I don't think it's particularly helpful to have scattered bug reports about which parts of classdef are not implemented yet. I find them distracting. It would be more useful to have a canonical wiki page that outlines what is and what hasn't been implemented.

I am closing this bug in favour of bug #44590.

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Fri 20 Mar 2015 01:04:29 PM UTC, comment #1:

What I get is:

Philip Nienhuis <philipnienhuis>
Project Member
Fri 20 Mar 2015 12:00:50 AM UTC, original submission:

In a classdef file, I created an enumeration as such:

This was taken out of the Matlab documentation, with some name and value changes, and does run in Matlab (from a calling test script). When I run it in Octave, I get the following error:

For some reason it chokes on the comma following the first parameter in the enumeration. I am attaching the classdef file as well as the test script.

Randall Bass <randyman99>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33405:  temp3.m added by randyman99 (361B - text/x-objcsrc)
file #33406:  test_class_camera.m added by randyman99 (470B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by randyman99 (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):

     

     

    Follow 14 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 11 Aug 2016 02:25:04 PM UTCcarandraugDependenciesRemoved dependancy to bugs #44590=>-
    Thu 11 Aug 2016 02:25:03 PM UTCcarandraugSeverity3 - Normal=>1 - Wish
      Item GroupMatlab Compatibility=>Feature Request
      StatusDuplicate=>None
      Open/ClosedClosed=>Open
      Release3.8.1=>dev
      Operating SystemGNU/Linux=>Any
      SummarySyntax error on class enumeration=>classdef: missing support for enumeration
    Thu 11 Aug 2016 02:24:06 PM UTCcarandraugDependenciesRemoved dependancy to bugs #44590=>-
    Fri 20 Mar 2015 02:29:00 PM UTCjordighStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #44590
    Fri 20 Mar 2015 12:00:50 AM UTCrandyman99Attached File-=>Added temp3.m, #33405
      Attached File-=>Added test_class_camera.m, #33406

    Back to the top


    Powered by Savane 3.1-cleanup1