Bug 8252 – no UFCS for 0 literal

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-16T10:42:00Z
Last change time
2012-06-18T12:45:40Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
timon.gehr

Comments

Comment #0 by timon.gehr — 2012-06-16T10:42:04Z
DMD 2.059/2.060head: bool f(int x){return !x;} static assert(!1.f); // ok static assert(0.f); // fail Both static assertions should pass.
Comment #1 by k.hara.pg — 2012-06-16T23:30:43Z
Comment #2 by github-bugzilla — 2012-06-18T10:49:37Z