[Issue 2112] the type of undefined variable incorrectly assumed to be int

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 20 10:22:03 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2112





------- Comment #4 from ary at esperanto.org.ar  2008-05-20 12:22 -------
Currently an "error" type is used in these situations, but this is just an
alias of the int type. It would be very nice if a real "error" type would be
returned instead. It could behave as an int, but it doesn't generate more
errors. And anything that "touches" it also becomes an "error" type.

That way compiler error messages would be much more cleaner: just the source of
them, not the source and then a flood of other unrelated messages.


-- 



More information about the Digitalmars-d-bugs mailing list