dragon-lang / dc

D Compiler
Boost Software License 1.0
8 stars 0 forks source link

No implicit comparison between unsigned/signed #63

Open wilzbach opened 5 years ago

wilzbach commented 5 years ago

Currently this fails:

uint i = 1;
assert(i > -2);

https://run.dlang.io/is/ryvnte

See also: https://d.puremagic.com/issues/show_bug.cgi?id=259

anon17 commented 5 years ago

Any signed or only negative signed?