Skip to content

Mark inferred mutation-free constructor as such#8692

Merged
weirdan merged 1 commit intovimeo:masterfrom
weirdan:fix-8602
Nov 11, 2022
Merged

Mark inferred mutation-free constructor as such#8692
weirdan merged 1 commit intovimeo:masterfrom
weirdan:fix-8602

Conversation

@weirdan
Copy link
Copy Markdown
Collaborator

@weirdan weirdan commented Nov 10, 2022

Previously Psalm treated those constructors as explicitly mutation-free,
and thus required descendant constructors to be explicitly marked too.

Fixes #8602

@weirdan weirdan added the release:fix The PR will be included in 'Fixes' section of the release notes label Nov 10, 2022
Previously Psalm treated those constructors as explicitly mutation-free,
and thus required descendant constructors to be explicitly marked too.

Fixes vimeo#8602
@weirdan weirdan merged commit 55933a5 into vimeo:master Nov 11, 2022
@weirdan weirdan deleted the fix-8602 branch November 11, 2022 00:27
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.

MissingImmutableAnnotation when @psalm-consistent-constructor is used

1 participant