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

forbid calling impure callable in immutable context #7260

Merged
merged 2 commits into from Jan 1, 2022
Merged

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Jan 1, 2022

This will fix #6691

Note that we will hit an obstacle at one point because we don't have immutable callable/closure. This means it's not possible to call a callable/closure in an immutable context if the said callable/closure is not pure.

@orklah orklah added the release:fix The PR will be included in 'Fixes' section of the release notes label Jan 1, 2022
@orklah orklah merged commit 2a6f122 into vimeo:master Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected UnusedMethod
1 participant