[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40008] classdef: parsing of class with empty
From: |
Richard |
Subject: |
[Octave-bug-tracker] [bug #40008] classdef: parsing of class with empty properties fails |
Date: |
Thu, 12 Sep 2013 08:54:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0 |
URL:
<http://savannah.gnu.org/bugs/?40008>
Summary: classdef: parsing of class with empty properties
fails
Project: GNU Octave
Submitted by: crobar
Submitted on: Thu 12 Sep 2013 08:54:51 GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Richard Crozier
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Parsing of the following class fails:
classdef aclass < handle
properties
% none
end
methods
function this = aclass()
this;
end
end
end
octave-cli:3> temp = aclass()
parse error near line 5 of file /home/richard/src/octave/build/aclass.m
syntax error
>>> end
In Matlab
temp = aclass()
>> temp =
aclass handle with no properties.
Methods, Events, Superclasses
If I add a property in Octave it works fine.
octave-cli:5> temp = aclass()
class: aclass
superclass: handle
method block
constructor: aclass
property block
property: aproperty
constructor
temp = aclass object
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40008>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #40008] classdef: parsing of class with empty properties fails,
Richard <=