[haXe] Incomplete error message when name lookup fails

Asger Ottar Alstrup asger at area9.dk
Tue Aug 22 11:04:12 CEST 2006


Changing to use CVS haxe, I get this compiling my old source:

Desktop.hx:15: : characters 10-25 Unknown identifier : neko

along with many more references to neko that do not resolve.

Line 15 in Desktop.hx contains:

        var f = neko.File.write(file,false);

Tracing it further, I find out that you have change neko.File to
neko.io.File. It is not the neko namespace that it can not find, it is just
the neko.File name that is unknown.

The error message should be

Desktop.hx:15: : characters 10-25 Unknown identifier : neko.File

since references to neko.Filesystem, and others work fine. I.e. make sure to
mention the full name that fails, rather than only the partial name.

When I fix this, I see that SVN swhx has not been updated to the new neko
API either. So using CVS haxe and SVN swhx is not a good match today.

Until things are synchronised, I'll revert to haxe 1.05, except for
haxe.remoting.connection from CVS which has the bugfix I need right now.

Regards,
Asger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20060822/8d06ace9/attachment.htm


More information about the Haxe mailing list