Skip to content

Conversation

OlivierBlanvillain
Copy link
Contributor

No description provided.

@@ -91,6 +98,9 @@ object MatchTypeTrace:
| matches none of the cases
|
| ${casesText(cases)}"""
case EmptyScrutinee(scrut) =>
i""" failed since selector $scrut
| is uninhabited."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we explain a bit what uninhabited means? Something like uninhabited (no instance of that type can be constructed)

@romanowski
Copy link
Contributor

I guess someone else should also take a look at this PR.

@nicolasstucki nicolasstucki merged commit 38b983c into scala:master Aug 9, 2021
@nicolasstucki nicolasstucki deleted the fix-12800 branch August 9, 2021 14:33
@Kordyjan Kordyjan added this to the 3.1.0 milestone Aug 2, 2023
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.

4 participants