[nem-en] Simple Code Causes Error
Kenneth Ismert
kismert at sbcglobal.net
Sat Dec 3 18:21:27 CET 2005
Hello, list:
I was getting errors in a certain segment of code, and reduced it to
this:
def i : int = 42;
def s : string = i.ToString;
It fails whether you use explicit types or not.
I get errors that say (in part):
"method System.Int32.ToString() : string was expected to have type
void -> string, while it has got void -> string" ...
This message doesn't make sense: it looks like the compiler is getting
what it expects.
I'm using 0.9.1, and MS .NET 2.0.50727
Any comments?
Thanks,
-Ken
More information about the devel-en
mailing list