[Issue 2112] the type of undefined variable incorrectly assumed to be int
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 19 21:34:14 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2112
------- Comment #1 from shro8822 at vandals.uidaho.edu 2008-05-19 23:34 -------
that's not properly a bug. DMD seems to uses int as the default type for
anything it can't figure out what do do with. However this only makes a
difference /after/ it has found an error and it won't actually finish compiling
in that case. I think the reason that it makes that assumption is that it lets
it continue error checking some of the time.
I'd be all for a dummy "undefined" type that is just a marker that is used
instead as it would be less confusing.
--
More information about the Digitalmars-d-bugs
mailing list