digitalmars.D.bugs - [Issue 12979] New: Nothrow violation error is hidden by inline
- via Digitalmars-d-bugs (23/23) Jun 23 2014 https://issues.dlang.org/show_bug.cgi?id=12979
https://issues.dlang.org/show_bug.cgi?id=12979 Issue ID: 12979 Summary: Nothrow violation error is hidden by inline assembler Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid Severity: critical Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: k.hara.pg gmail.com Test case: void main() nothrow { throw new Exception(""); version(A) asm { nop; } } Without -version=A, the error "Exception is thrown but not caught" is properly reported. But with -version=A, no error occurs. --
Jun 23 2014