Skip to content

Conversation

@dwijnand
Copy link
Member

@dwijnand dwijnand commented Dec 2, 2021

It's reasonable to desire this to work, but for now let's just not crash.

It's reasonable to desire this to work, but for now let's just not
crash.

Co-authored-by: Seth Tisue <[email protected]>
@dwijnand dwijnand linked an issue Dec 2, 2021 that may be closed by this pull request
@dwijnand dwijnand marked this pull request as ready for review December 2, 2021 22:42
@dwijnand dwijnand requested a review from smarter December 3, 2021 12:26
-- [E108] Declaration Error: tests/neg/i13960.scala:13:10 --------------------------------------------------------------
13 | case A() => // error
| ^^^
| A is not a valid result type of an unapply method of an extractor.
Copy link
Member

Choose a reason for hiding this comment

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

I don't think our checkfiles have ansi color escape codes normally

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't investigate why we're getting it here, in part because it auto-generated and passes...

@smarter smarter enabled auto-merge December 8, 2021 13:59
@smarter smarter merged commit d6fe4b4 into scala:master Dec 8, 2021
@dwijnand dwijnand deleted the ko-product-0-extractor branch December 12, 2021 13:03
@Kordyjan Kordyjan added this to the 3.1.2 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.

compiler throws AssertionError when Product Match zero-arity

3 participants