[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56816] calling classdef methods with the dot-
From: |
Sébastien Villemot |
Subject: |
[Octave-bug-tracker] [bug #56816] calling classdef methods with the dot-syntax from an old-style method fails |
Date: |
Tue, 27 Aug 2019 08:32:06 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL:
<https://savannah.gnu.org/bugs/?56816>
Summary: calling classdef methods with the dot-syntax from an
old-style method fails
Project: GNU Octave
Submitted by: svillemot
Submitted on: mar. 27 août 2019 12:32:05 UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi,
Suppose we have two classes "foo" and "bar".
"foo" uses old-style classes, while "bar" uses classdef.
>From the body of a method of "foo", calling a method of "bar" using the
dot-syntax (i.e. bar.method()) triggers a weird error. However the functional
syntax (method(bar)) works.
Note that MATLAB accepts both syntaxes in this context.
I attach a code example that demonstrates the problem.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: mar. 27 août 2019 12:32:05 UTC Name: classdef-old-style-mix.tar.gz
Size: 407o By: svillemot
<http://savannah.gnu.org/bugs/download.php?file_id=47399>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56816>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56816] calling classdef methods with the dot-syntax from an old-style method fails,
Sébastien Villemot <=