[Issue 12979] Nothrow violation error is hidden by inline assembler
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Sep 24 15:21:25 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12979
--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
There seems to be a contradiction in the semantic passes too.
Having an asm statement in a nothrow function is both valid and an error.
https://github.com/D-Programming-Language/dmd/blob/master/src/func.c#L1778
https://github.com/D-Programming-Language/dmd/blob/master/src/statement.c#L695
--
More information about the Digitalmars-d-bugs
mailing list