[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42702] isa() does not check parent class of j
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #42702] isa() does not check parent class of java object |
Date: |
Mon, 06 Apr 2015 04:11:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.5.3 |
Follow-up Comment #3, bug #42702 (project octave):
I forgot to mention that this only fixed the original report, i.e., does not
work for java objects.
I was unable to confirm comment #1 about this also failing for classdef. Maybe
it was fixed in the mean time, or maybe I am not testing it correctly, but
here's what I did:
$ cat parent.m
classdef parent
endclassdef
$ cat child.m
classdef child < parent
endclassdef
$ octave
octave:1> isa (child (), "parent")
ans = 1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42702>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/