← Back to index
|
Original Bugzilla link
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
https://github.com/D-Programming-Language/dmd/pull/1013
Comment #2
by github-bugzilla — 2012-06-18T10:49:37Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/f34f6f0e5d998b3c6977531d7a5ec51c29361274
fix Issue 8252 - no UFCS for 0 literal
https://github.com/D-Programming-Language/dmd/commit/4e053160ef351c249fa250a0e2f5a071419ca8f0
Merge pull request #1013 from 9rnsr/fix8252 Issue 8252 - no UFCS for 0 literal