[rdnzl-devel] Handling of static events
Goffioul Michael
goffioul at imec.be
Tue Sep 12 14:44:20 UTC 2006
Hi,
I think that the RDNZL syntax does not handle static events correctly.
Indeed, let's imagine I have a class ClassA that defines a static event
EventB, then the following macro expansion is wrong:
ECL-0.9i % (macroexpand '[+ClassA.EventB (rdnzl:new
"System.EventHandler" #'identity)])
(RDNZL:INVOKE "add_ClassA"
"EventB"
(RDNZL:NEW "System.EventHandler" #'IDENTITY))
It should expand to
(RDNZL:INVOKE "ClassA"
"add_EventB"
(RDNZL:NEW "System.EventHandler" #'IDENTITY))
Michael.
More information about the rdnzl-devel
mailing list