Skip to content
New issue

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

Deprecation: returning &this escapes a reference to parameter this #138

Closed
andre2007 opened this issue Sep 28, 2020 · 1 comment
Closed

Comments

@andre2007
Copy link

With DMD 2.094.0 I am receiving this deprecation warning:

Deprecation: returning &this escapes a reference to parameter this

pyd 0.13.1+commit.3.g60f6669: building configuration "python38"...
..\..\..\AppData\Local\dub\packages\pyd-60f6669af6d4f963af4b4b7a4fcc860c045980ed\pyd\infrastructure\pyd\make_object.d(1175,16): Deprecation: returning &this escapes a reference to parameter this   
..\..\..\AppData\Local\dub\packages\pyd-60f6669af6d4f963af4b4b7a4fcc860c045980ed\pyd\infrastructure\pyd\make_object.d(1175,16):        perhaps annotate the parameter with return
@andre2007
Copy link
Author

Closing as duplicate of #134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant