id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 291,lambda and object initialization compiler error,jaegs,,"This example comes from DefaultDictionary.cobra This compiles {{{ factory as Func = do = 5 dd = DefaultDictionary(factory, willRecordDefaults = false) }}} This doesn't {{{ dd = DefaultDictionary(do = 5, willRecordDefaults = false) }}} {{{ DefaultDictionary.cobra(112): error: Cannot convert ""anonymous method"" to non-delegate type ""object"" DefaultDictionary.cobra(112): error: The best overloaded method match for ""Cobra.CoreX.TestDefaultDictionary._ch_ext_init_6222(object, bool)"" has some invalid arguments DefaultDictionary.cobra(112): error: Argument ""#1"" cannot convert ""anonymous method"" expression to type ""object"" DefaultDictionary.cobra(58): error: The best overloaded method match for ""Cobra.CoreX.DefaultDictionary.DefaultDictionary(System.Func)"" has some invalid arguments }}} Cobra svn:2771 (post 0.8) / 2012-08-05 on Mono 2.10.9 CLR v4.0.30319 on Mac OS X 10.6.8 ",defect,new,medium,,Cobra Compiler,0.8.0,,,