Skip to content

Conversation

@lidorcg
Copy link

@lidorcg lidorcg commented Nov 11, 2025

fix: update 'with' macro to bind return value of __enter__ correctly

#273

fix: update 'with' macro to bind return value of __enter__ correctly
@jjtolton
Copy link
Contributor

Good catch. Technically this is a backwards breaking change but I sincerely doubt anyone is explicitly expecting the bound/return value to always be nil and taking conditional logic from that.

Traveling right now for conference stuff but I will pull it and check it when I can.

Thanks for the contribution!

@jjtolton
Copy link
Contributor

jjtolton commented Nov 30, 2025

@lidorcg overall looks good to me. Tested locally and working great. Would prefer you revert the unrelated formatting changes and do that in separate PR. Excellent contribution, thank you!

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.

2 participants