[haXe] Multiple errors reported in each invocation
Asger Ottar Alstrup
asger at area9.dk
Wed Apr 26 12:42:48 CEST 2006
Hi,
I agree that it makes sense to be a little critical about which errors
should recover.
On 4/26/06, Nicolas Cannasse <ncannasse at motion-twin.com> wrote:
>
> However, I agree that in some cases, it might make sense to display
> several errors. Would you suggest the errors that often happens and that
> you would like the compiler to continue ?
>
The important ones are when you change something that requires lots of other
changes. In this case, the compiler should help you find these other
positions, preferably in one invocation.
These two appear when you change the name or access rights of something,
which is very common:
X have no field Y [which should probably should be "has no field"]
Cannot access to private field X [which probably should be "Cannot access
private field X"]
Less common, but also relevant is:
X should be Y
where X and Y are types. This happens when you change the type of something.
Regards,
Asger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20060426/5e37ce07/attachment.htm
More information about the Haxe
mailing list