[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34478] argn is undefined inside subsref
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #34478] argn is undefined inside subsref |
Date: |
Tue, 04 Oct 2011 18:49:30 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110929 Iceweasel/3.5.16 (like Firefox/3.5.16) |
URL:
<http://savannah.gnu.org/bugs/?34478>
Summary: argn is undefined inside subsref
Project: GNU Octave
Submitted by: carandraug
Submitted on: Tue 04 Oct 2011 06:49:30 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.2
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi
I was trying to implement a new class and found that when calling argn inside
subsref, it is not defined (note that this also causes inputname to fail
inside subsref).
I uploaded a file with the most minimal case to replicate this behaviour.
There's only the class constructor and the subsref function which only checks
argn.
The following code will fail now with:
> a = testClass;
> a.method
error: `argn' undefined near line 2 column 3
error: called from:
error: /home/carandraug/development/inputParser/@testClass/subsref.m at line
2, column 3
And I'm using octave 3.4.2 in Debian Squeeze (not the one in the repos,
compiled by me).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 04 Oct 2011 06:49:30 PM GMT Name: @testClass.tar Size: 10kB By:
carandraug
<http://savannah.gnu.org/bugs/download.php?file_id=24098>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34478>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34478] argn is undefined inside subsref,
Carnë Draug <=