Bug 18195 – out/in need to be nothrow

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2018-01-05T13:55:57Z
Last change time
2024-12-13T18:56:02Z
Assigned to
No Owner
Creator
Seb
Moved to GitHub: dmd#17830 →

Comments

Comment #0 by greensunny12 — 2018-01-05T13:55:57Z
The following shouldn't be allowed: --- int foo() out { throw new Exception("a"); } do { return 2; } void main() { foo(); } --- See also: https://github.com/dlang/dmd/pull/7553
Comment #1 by robert.schadek — 2024-12-13T18:56:02Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17830 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB