Skip to content

Check inline expansion for exclusion #23019

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

som-snytt
Copy link
Contributor

Fixes #23018

Scala 2 warns at refchecks and at that time drills into the tree shapes that may have the attachment.

The test shows status quo, where 42: Unit incorrectly warns, ironically.

@ahoy-jon
Copy link

Already 😮! Thank you @som-snytt!

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.

Transparent inline skip warnings on value-discard
2 participants