[Issue 14272] DMD segfault in in Dsymbol::checkDeprecated(Loc, Scope*) on possibly invalid code

2015-03-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14272 --- Comment #2 from Nicolas Sicard dran...@gmail.com --- Right. Both codes are invalid, aren't they? If you remove int after enum in both of them, there's a forward reference error, which seems logical. --

[Issue 14272] DMD segfault in in Dsymbol::checkDeprecated(Loc, Scope*) on possibly invalid code

2015-03-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14272 --- Comment #3 from Ketmar Dark ket...@ketmar.no-ip.org --- yes, such code should trigger forward reference error. the following patch seems to fix it: diff --git a/src/expression.c b/src/expression.c index a69c9b8..270a37b 100644 ---

[Issue 14272] DMD segfault in in Dsymbol::checkDeprecated(Loc, Scope*) on possibly invalid code

2015-03-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14272 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[Issue 14272] DMD segfault in in Dsymbol::checkDeprecated(Loc, Scope*) on possibly invalid code

2015-03-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14272 Nicolas Sicard dran...@gmail.com changed: What|Removed |Added Keywords||ice --