Feature request : Make Error Messages More Helpful

Davidl Davidl at 126.com
Tue Apr 3 09:45:35 PDT 2007


I've considered one solution to make error messages more helpful, add one  
attribute to DObject
bool thissymtriggeredanerror;
and when error triggered make this DObject 's attribut  
thissymtriggeredanerror to be true
and each check of emiting error messages would first try to figure out  
whether all expressions
statements has thissymtriggeredanerror set to be false, then real semantic  
parse is executed.

this would avoid the great bunch error messages coz by only 1 simple  
mistake like user forget to
declare a variable, and user mis declared the prototype of a func. this  
could help user to read
the error message more efficiently.

though this feature request should be in rather low priority ;)



More information about the Digitalmars-d mailing list