Hello guys,
This code doesn't compile (using Mono 2.4 and MonoDevelop 2.0 on OS X):
using System;
namespace test
{
class MainClass
{
public static void Main(string[] args)
{
string Something;
string fish = "hello";
if ((Something = fish) != "hello"){
Console.WriteLine("Hello World!");
}
}
}
}
It reports the error "The variable `Something' is assigned but its value is
never used(CS0219)".
This problem is stopping me compiling IronPython for Mono 2.4.
Is this a known issue, a real issue, and should I raise a bug report for it?
All the best,
Michael Foord
--
http://www.ironpythoninaction.com/
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list