Skip to content

Conversation

kasiaMarek
Copy link
Member

resolves: #5712

@kasiaMarek kasiaMarek added Scala 3 Generic ticket relating to Scala 3 presentation-compiler Something relating to the presentation compiler labels Oct 5, 2023
@kasiaMarek kasiaMarek requested a review from jkciesluk October 5, 2023 08:12
@@ -734,4 +734,52 @@ class CompletionMatchSuite extends BaseCompletionSuite {
filter = _.contains("exhaustive"),
)

checkEdit(
Copy link
Contributor

Choose a reason for hiding this comment

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

These cases already seem to work for Scala 2 (with Animal being sealed type hierarchy instead of enum). Would it be worth it to add unit tests for it as well (or maybe there are already some)? 🙂

Copy link
Member

@jkciesluk jkciesluk left a comment

Choose a reason for hiding this comment

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

Copy link
Member

@kpodsiad kpodsiad left a comment

Choose a reason for hiding this comment

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

Thanks for doing this!

Copy link
Contributor

@filipwiech filipwiech left a comment

Choose a reason for hiding this comment

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

Thank you for adding Scala 2 tests. 👍

Copy link
Member

@jkciesluk jkciesluk left a comment

Choose a reason for hiding this comment

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

LGTM

tgodzik added a commit to scala/scala3 that referenced this pull request Oct 9, 2023
@kasiaMarek kasiaMarek merged commit 92e9732 into scalameta:main Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
presentation-compiler Something relating to the presentation compiler Scala 3 Generic ticket relating to Scala 3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing match completions for type wrapped in Id
4 participants