← Back to index
|
Original Bugzilla link
Bug 17827 – Unused lazy parameter supposedly calls dtor
Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-09-14T21:33:37Z
Last change time
2024-12-13T18:54:32Z
Assigned to
No Owner
Creator
Eyal
Moved to GitHub: dmd#19317 →
Comments
Comment #0
by eyal — 2017-09-14T21:33:37Z
struct A { ~this() {} } void foo(lazy A a) pure {} // Error: pure function 'foo' cannot call impure destructor 'A.~this'
Comment #1
by robert.schadek — 2024-12-13T18:54:32Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/19317
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB