BTW my simple repro is bogus - it contains no members and section 5.3 of the C# spec defines value types as being definitely assigned when all their members are assigned. The real issue seems to be when the value-type is defined in another assembly and all the members are private. Once those conditions are met csc then doesn't require the assignment.
I'm still waiting for a response on that last bit. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Thursday, October 04, 2007 6:22 PM To: Discussion of IronPython Subject: Re: [IronPython] Compilation error 2007/10/5, Dino Viehland <[EMAIL PROTECTED]>: > It looks like csc doesn't require out params to be assigned if they're value > types: I searched Mono bugzilla, and found that apparently this was mcs behaviour too. Bug 311892 - mcs incorrect CS0177 with out structs https://bugzilla.novell.com/show_bug.cgi?id=311892 I smell something wrong... But it would still be interesting to hear what csc people think. Thanks! -- Seo Sanghyeon _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
