Ticket #195 (closed bug: fixed)

Opened 13 years ago

Last modified 13 years ago

can't override 'does' from a PIR class

Reported by: coke Owned by:
Priority: major Milestone:
Component: core Version:
Severity: medium Keywords: tcl blocker
Cc: Language:
Patch status: Platform: all


partcl is trying to convert a PMC to a PIR subclass, and the only blocker is the inability to specify a PIR override for the 'does' vtable entry.


override.diff Download (2.2 KB) - added by coke 13 years ago.
How I'd expect the override to work

Change History

Changed 13 years ago by coke

How I'd expect the override to work

Changed 13 years ago by coke

I attached a patch to the test file which is how I'd expect it to work; if instead we have to explicitly check our parent's 'does' list in our PIR override, that's fine too, but please update the test to show how we'd do that programmatically.

Thanks in advance.

Changed 13 years ago by whiteknight

  • status changed from new to closed
  • resolution set to fixed

I believe this issue was resolved by kjs++ as part of work on tickets #199 and #103. There are tests for this now in t/oo/vtableoverride.t. Closing ticket.

Note: See TracTickets for help on using tickets.