Ticket #1894 (closed bug: fixed)

Opened 11 years ago

Last modified 11 years ago

EventHandler's VTABLE_invoke unused and crashes .

Reported by: DavidCzech Owned by: whiteknight
Priority: minor Milestone:
Component: core Version: master
Severity: low Keywords: eventhandler invoke
Cc: Language:
Patch status: Platform: all

Description

Although  http://docs.parrot.org/parrot/latest/html/docs/pdds/pdd24_events.pod.html says that EventHandlers are code objects (anything that can be invoked or called), calling an EventHandler doesn't make a lot of sense (why not just call the code directly?). Current invoke() crashes when called (but maybe I'm calling it wrong?),

Change History

Changed 11 years ago by whiteknight

  • severity changed from medium to low
  • component changed from none to core
  • priority changed from normal to minor
  • platform set to all
  • version changed from 2.10.0 to master
  • milestone 2.11 deleted
  • owner set to whiteknight

I pushed a possible fix for this issue in b3de476. Can you please run your new tests against this new version and tell me how it works out?

Changed 11 years ago by whiteknight

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

It appears that my fix causes the PMC to be invokable again for this test.

Note: See TracTickets for help on using tickets.