Integer promotion... what I'm missing? (It's monday...)

Tom S h3r3tic at remove.mat.uni.torun.pl
Mon Jun 19 07:29:25 PDT 2006


Paolo Invernizzi wrote:
> Instead of a warning, I would prefer an error, forcing for an explicit 
> cast if the comparison it's what you really want to to. But only for 
> rule number 4.

I'd also like DMD to issue an error in this case, as I've stumbled upon 
it a few times.


-- 
Tomasz Stachowiak  /+ a.k.a. h3r3tic +/



More information about the Digitalmars-d-learn mailing list