[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51659] Calling 'methods' on self causes synta
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #51659] Calling 'methods' on self causes syntax error |
Date: |
Fri, 4 Aug 2017 18:50:40 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #1, bug #51659 (project octave):
OK, so "methods" should not be considered a keyword inside a methods block.
That makes sense. Also, I'm assuming that if there were a functions called
properties, events, or enumerations, that they should also not be considered
keywords inside functions defined in the classdef methods block? What should
happen for something like this:
classdef foo
methods
function m1 (self)
methods (self)
events
end
end
end
for example? Or what about something like this:
classdef foo
enumeration
properties, events, methods
end
end
? Does that make an enumeration with those names, or is it supposed to be an
error?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51659>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/