Bug 2235 – false unreachable statement in constructor (-w only, D1 only)

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-07-19T06:54:00Z
Last change time
2015-07-08T01:38:37Z
Keywords
rejects-valid
Assigned to
nobody
Creator
2korden
Depends on
2463

Comments

Comment #0 by 2korden — 2008-07-19T06:54:37Z
Testcase: ~~~~~~~~~ class Test { this() { assert(false, "Not implemented"); } } Output: warning - Error: statement is not reachable
Comment #1 by clugdbug — 2009-04-01T10:31:43Z
Only applies to DMD1. The missing line number bug is the same as 2463.
Comment #2 by clugdbug — 2011-12-19T04:45:20Z
Bug 2643 has now been fixed, removed "no line numbers shown" from title. Only applies to constructors (doesn't even happen with a destructor).
Comment #3 by k.hara.pg — 2015-07-08T01:38:37Z
D1 is retired.