[Mono-list] Non standard behaviour

Miguel de Icaza miguel@ximian.com
07 Apr 2002 10:03:11 -0400


> This compiles and runs:
> 
> class Values
> {
>     static void Main()
>     {
>         int myInt ;
>         System.Console.WriteLine("Initialized: myInt: {0}", myInt);
>         myInt = 5;
>         System.Console.WriteLine("Initialized: myInt: {0}", myInt);
>     }
> 
> }
> 
> 
> Whereas I believe it should fail to compile with "Use of unassigned local
> variable".

Known problem.  I currently do not perform data flow analysis.

Miguel