[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50716] Undefined input to a classdef method
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #50716] Undefined input to a classdef method |
Date: |
Tue, 4 Apr 2017 16:14:03 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #1, bug #50716 (project octave):
Agree, I see the same thing with Python objects (implemented with classdef).
With no colon expression, the parser seems to handle it as a subsref call on
"obj.method", which maps to a normal method call. Same with a colon expression
that does not contain "end".
With an "end" expression, it seems to be treating the following as equivalent
obj.method(s(1:end))
obj.method()(s(1:end))
The subsref operation is done on the result of calling "obj.method" with no
arguments.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50716>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, Guillaume, 2017/04/04
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method,
Mike Miller <=
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, Guillaume, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, John W. Eaton, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, John W. Eaton, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, Guillaume, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, John W. Eaton, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, John W. Eaton, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, Guillaume, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, John W. Eaton, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, Carnë Draug, 2017/04/05
- [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method, John W. Eaton, 2017/04/05