[Mono-list] Compilation issue
Michael Foord
fuzzyman at voidspace.org.uk
Wed May 6 11:01:22 EDT 2009
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090506/d8704b60/attachment.html
More information about the Mono-list
mailing list