dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]A small fix for C# compiler (forgot patch)


From: Gopal V
Subject: Re: [DotGNU]A small fix for C# compiler (forgot patch)
Date: Sat, 31 Aug 2002 13:16:46 +0530
User-agent: Mutt/1.2.5i

Reposted as I forgot the patch ....

If memory serves me right, Rhys Weatherley wrote:
> It is valid, according to the spec.  There must exist an explicit
> cast between the element type and the variable type.  This allows
> one to say
> 
>     Object[] a;
>     foreach(String s in a) { ... }
> 

Fixed ... Along with my SSH install ... So this is just a "security
check" patch submission...

If you approve I'll go on to commit code ..

Gopal
-- 
The difference between insanity and genius is measured by success

Attachment: patch
Description: Text document

Attachment: foreach.cs
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]