
12 Sep
2006
12 Sep
'06
2:44 p.m.
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.