Skip to content

allow lazy accessors to return their built value even with weak_ref#175

Draft
haarg wants to merge 1 commit into
masterfrom
haarg/weak+lazy
Draft

allow lazy accessors to return their built value even with weak_ref#175
haarg wants to merge 1 commit into
masterfrom
haarg/weak+lazy

Conversation

@haarg
Copy link
Copy Markdown
Member

@haarg haarg commented Apr 14, 2020

This allows weak_ref with a lazy default to work if the caller captures the return value from calling the getter.

Some exceptions probably need adjustment, and there are related issues, such as allowing weak_ref with coercions.

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

Successfully merging this pull request may close these issues.

1 participant