[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49169] Class can't be called from builtin fun
From: |
Ll |
Subject: |
[Octave-bug-tracker] [bug #49169] Class can't be called from builtin function. |
Date: |
Fri, 23 Sep 2016 20:24:13 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?49169>
Summary: Class can't be called from builtin function.
Project: GNU Octave
Submitted by: pipeng
Submitted on: Fri 23 Sep 2016 08:24:11 PM GMT
Category: Octave Function
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: 4.0.3
Operating System: GNU/Linux
_______________________________________________________
Details:
As the title says, when we use the class function to set the class works fine
in @foo/foo.m, but if we instead call it directly we call it with the builtin
function send the error:
error: class: 'foo' is invalid as a class name in this context
error: called from
foo at line 184 column 5
only to be clear, this works:
class(f, 'foo', expr)
this don't works:
builtin('class', f, 'foo', expr)
Why we can need call class with builtin?, when we overload the class function
of @foo only to get data instead of set.
To others examples imagine!
Thx. Cya.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49169>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49169] Class can't be called from builtin function.,
Ll <=
- [Octave-bug-tracker] [bug #49169] Class can't be called from builtin function., Mike Miller, 2016/09/26
- [Octave-bug-tracker] [bug #49169] Class can't be called from builtin function., Ll, 2016/09/26
- [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor, Mike Miller, 2016/09/27
- [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor, Colin Macdonald, 2016/09/27
- [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor, Colin Macdonald, 2016/09/27
- [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor, Colin Macdonald, 2016/09/27
- [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor, Mike Miller, 2016/09/27
- [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor, Colin Macdonald, 2016/09/27
- [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor, Mike Miller, 2016/09/27
- [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor, Colin Macdonald, 2016/09/27