Ticket #773 (closed bug: fixed)
Can't override vtables of a PMC from PIR
| Reported by: | coke | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | core | Version: | 1.2.0 |
| Severity: | medium | Keywords: | |
| Cc: | Language: | tcl | |
| Patch status: | Platform: |
Description
This seems like it should print "ok 1", but prints "not ok 1" instead:
.HLL 'parrot'
.namespace ['String']
.sub get_string :vtable
.return('')
.end
.namespace []
.sub foo :main
$P1 = new 'String'
$P1 = 'not '
$S0 = $P1
print $S0
say "ok 1"
.end
Should this be supported? (is there a more verbose syntax?)
Change History
Note: See
TracTickets for help on using
tickets.
