Ticket #1771 (closed bug: fixed)
Cannot hll_map in parrot HLL
|Reported by:||whiteknight||Owned by:|
It appears that you cannot use hll_map in the Parrot HLL. This seems like an unnecessary restriction. Is there a particular reason why this is not permitted, or is it simply an oversight?
.sub main $P9 = box 4.5 $S9 = typeof $P9 # Float. Good say $S9 $P0 = getinterp $P1 = typeof $P9 # Float, good say $P1 $P2 = subclass $P1, ['MyFloat'] # MyFloat, good say $P2 $P3 = new $P2 $S0 = typeof $P3 # MyFloat, good say $S0 $P0.'hll_map'($P1, $P2) $P9 = box 5.5 $S9 = typeof $P9 # Float. wtf? say $S9 .end