http://d.puremagic.com/issues/show_bug.cgi?id=6949
--- Comment #14 from [email protected] 2012-11-30 05:25:50 PST --- (In reply to comment #13) > (In reply to comment #12) > > Regarding a comment by Don, is it possible to generate a warning/error only > > in > > foo() and not in bar()? > > > > > > void foo(uint x) { > > if (x < 0) {} // error or warning here > > } > > void bar(T)(T x) { > > if (x < 0) {} // OK > > } > > void main() { > > foo(5U); > > bar(5U); > > } > > I doubt it. I'd like a better answer about this, maybe from Don or Hara or someone that knows this answer better. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
