We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
struct A { ~this() {} } void foo(lazy A a) pure {} // Error: pure function 'foo' cannot call impure destructor 'A.~this'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Eyal reported this on 2017-09-14T21:33:37Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=17827
Description
struct A { ~this() {} } void foo(lazy A a) pure {} // Error: pure function 'foo' cannot call impure destructor 'A.~this'The text was updated successfully, but these errors were encountered: