Skip to content
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

Switch default source version to 3.6 #20895

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hamzaremmal
Copy link
Member

No description provided.

@hamzaremmal hamzaremmal self-assigned this Jun 29, 2024
@hamzaremmal hamzaremmal added the needs-minor-release This PR cannot be merged until the next minor release label Jun 29, 2024
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 don't think that this is the correct error to show. It should keep the following message:

-- [E007] Type Mismatch Error: tests/neg/i7294.scala:7:18 --------------------------------------------------------------
7 |  case x: T => x.g(10) // error // error
  |               ^^^^^^^
  |               Found:    Any
  |               Required: T
  |
  |               where:    T is a type in given instance f with bounds <: foo.Foo

Copy link
Member Author

Choose a reason for hiding this comment

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

Related issue: #20992

@hamzaremmal hamzaremmal marked this pull request as ready for review July 3, 2024 14:28
@hamzaremmal hamzaremmal removed their assignment Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-minor-release This PR cannot be merged until the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants