[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48682] print_usage fails within classdef bloc
From: |
Colin Macdonald |
Subject: |
[Octave-bug-tracker] [bug #48682] print_usage fails within classdef block |
Date: |
Tue, 2 Aug 2016 22:05:24 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
URL:
<http://savannah.gnu.org/bugs/?48682>
Summary: print_usage fails within classdef block
Project: GNU Octave
Submitted by: cbm
Submitted on: Tue 02 Aug 2016 10:05:20 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Suppose I have a classdef block which defines a "myclass", which defines a
"length" method. If I call "print_usage" from within "length", it fails. For
example:
length(L, 2)
error: 'fullname' undefined near line 55 column 33
error: called from
print_usage at line 55 column 16
length at line 168 column 5
On the other hand, methods of the class defined in external .m files (e.g., in
"@myclass/foo.m" rather than within the classdef block) can successfully call
print_usage.
I can cook up a minimal nonworking example if needed.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48682>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48682] print_usage fails within classdef block,
Colin Macdonald <=