Skip to content

Value discard checks inline call for exemption - #25554

Merged
noti0na1 merged 1 commit into
scala:mainfrom
som-snytt:issue/25553-suppress-nonunit
Mar 24, 2026
Merged

Value discard checks inline call for exemption#25554
noti0na1 merged 1 commit into
scala:mainfrom
som-snytt:issue/25553-suppress-nonunit

Conversation

@som-snytt

Copy link
Copy Markdown
Contributor

Fixes #25553

Check inline call for exemption before considering the inline expansion.

This means the expansion did not "inherit" the attachment at the call. Should it?

@som-snytt

Copy link
Copy Markdown
Contributor Author

Hopefully the fix is satisfactory.

kyohh

@noti0na1 noti0na1 removed their assignment Mar 24, 2026
@noti0na1
noti0na1 merged commit 2fa1022 into scala:main Mar 24, 2026
64 checks passed
@som-snytt
som-snytt deleted the issue/25553-suppress-nonunit branch March 24, 2026 20:36
@WojciechMazur WojciechMazur added this to the 3.8.4 milestone Mar 31, 2026
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.

Unable to suppress discarded non-unit warning

4 participants