[Mono-list] Non standard behaviour
Paolo Molaro
lupus@ximian.com
Sun, 7 Apr 2002 12:23:01 +0200
On 04/07/02 Jonathan Stowe wrote:
> 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".
There is already bug # 22724 filed for this problem.
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better