← Back to index
|
Original Bugzilla link
Bug 11633 – static assert(false) ignored
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-28T09:41:24Z
Last change time
2018-02-03T09:28:21Z
Assigned to
No Owner
Creator
Luís Marques
Comments
Comment #0
by luis — 2013-11-28T09:41:24Z
This compiles without error, ignoring the static assert: class A(T) { static assert(false); B!T foo; } class B(T) : T { } void main() { static class C : A!C { } }
Comment #1
by andrej.mitrovich — 2014-04-19T16:00:29Z
Probably another case of error gagging. :|
Comment #2
by luis — 2015-08-10T15:54:47Z
Seems fixed since 2.066.0:
http://www.luismarques.eu/d/archeology/627129485
Comment #3
by timothee.cour2 — 2018-02-03T09:28:21Z
popped up again:
https://issues.dlang.org/show_bug.cgi?id=18360