I tried adding annotations until it worked and then removing them one by one. The key one appears to be

member self.Add : 'a -> unit = triggerAdd

I did not quite grok what was happening, though (maybe the Event.create() call was creating a result with a free type variable not constrained to be the same 'a as the suurounding class?)

By on 2/12/2009 7:33 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper