Hello!

> I am starting to learn C# using mono. The attached example taken from 
> "Programming C#" does not produce a compiler errormessage saying that the 
> variable myInt is used uninitialized. It compiles cleanly instead (used 
> mcs v0.11). Furthermore the uninitialized variable was not implicitly 
> initialized to 0 (as good C and C++ compilers do). I don't know, if this 
> is in error as well. The output from the run was

It is a known bug.  That is one of the major features missing, there is
a bug report filled in bugzilla for this (data flow analysis is not
done)

Miguel.

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to