Skip to content

Add parentheses in capacity calculation - #13980

Merged
JanProvaznik merged 1 commit into
dotnet:mainfrom
jnyrup:patch-1
Jun 8, 2026
Merged

Add parentheses in capacity calculation#13980
JanProvaznik merged 1 commit into
dotnet:mainfrom
jnyrup:patch-1

Conversation

@jnyrup

@jnyrup jnyrup commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Context

As + binds stronger than ?? this PR parenthesizes the coalescing parts

Changes Made

Added parentheses to correctly calculate the capacity

Testing

Notes

As `+` binds stronger than `??` this PR parenthesizes the coalescing parts

@JanProvaznik JanProvaznik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for catching it!

@JanProvaznik
JanProvaznik merged commit 2d53d8f into dotnet:main Jun 8, 2026
20 checks passed
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