Ticket #809 (closed bug: fixed)
Opcode 'isa' does not accept RSA PMC for class
|Reported by:||Austin_Hastings||Owned by:|
This code does not work:
find_lex $P95, "node" $P0 = split '::', "PCT::Node" isa $I96, $P95, $P0
It produces an error:
get_string() not implemented in class 'ResizableStringArray'
According to Pmichaud, RSA should be a valid parameter type for many of the class-related opcodes (see #159 for more).
According to me, the default pmc (which is where I suspect a lot of this windows up relegated) makes no provision for PMC types other than Class.
For now I have a work-around, provided by Pmichaud:
$P0 = split '::', 'PCT::Node' $P1 = get_class $P0 $I0 = isa node, $P1