[IronPython] Compilation error
dinov at exchange.microsoft.com
Sat Oct 6 01:28:30 CEST 2007
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.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] 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 <dinov at exchange.microsoft.com>:
> 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
I smell something wrong... But it would still be interesting to hear
what csc people think.
Users mailing list
Users at lists.ironpython.com
More information about the Ironpython-users