Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #39045] [BUG] "isa" opcode doesn't (yet) work with keyed classnames

0 views
Skip to first unread message

Patrick R . Michaud

unread,
May 1, 2006, 4:34:28 PM5/1/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Patrick R. Michaud
# Please include the string: [perl #39045]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=39045 >


---
osname= linux
osvers= 2.6.12
arch= x86_64-linux-thread-multi
cc= cc
---
Flags:
category=core
severity=medium
ack=no
---
Although namespace issues are still being worked out, I'm
entering this ticket to note that the "isa" opcode doesn't
seem to work with keyed classnames.

base = subclass 'Hash', ['Perl6'; 'PAST'; 'Node']
$P0 = new [ 'Perl6'; 'PAST'; 'Node' ]
$I0 = isa $P0, [ 'Perl6'; 'PAST'; 'Node']

results in

error:imcc:The opcode 'isa_i_p_kc' (isa<3>) was not found.

Pm

---
Summary of my parrot 0.4.3 (r12477) configuration:
configdate='Mon May 1 14:06:21 2006'
Platform:
osname=linux, archname=x86_64-linux-thread-multi
jitcapable=0, jitarchname=nojit,
jitosname=linux, jitcpuarch=x86_64
execcapable=0
perl=/usr/bin/perl
Compiler:
cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I /usr/include',
Linker and Libraries:
ld='cc', ldflags=' -L/usr/local/lib64',
cc_ldflags='',
libs='-lm -ldl -lcrypt -lpthread -lrt -lreadline'
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -L/usr/local/lib64 -fPIC',
load_ext='.so', ld_load_flags='-shared -L/usr/local/lib64 -fPIC'
Types:
iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
ptrsize=8, ptr_alignment=1 byteorder=12345678,
nv=double, numvalsize=8, doublesize=8

---
Environment:
HOME LANG LANGUAGE LD_LIBRARY_PATH LOGDIR PATH SHELL

Leopold Toetsch

unread,
May 11, 2006, 10:54:10 AM5/11/06
to perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com
Patrick R.Michaud (via RT) wrote:

> $I0 = isa $P0, [ 'Perl6'; 'PAST'; 'Node']

Implemented in r12615. Thanks for the test.
leo

0 new messages