Skip to content

Conversation

Kordyjan
Copy link
Contributor

Backports #15667

@Kordyjan Kordyjan added this to the 3.2.0 backports milestone Jul 26, 2022
We sometimes create a dependent parameter reference p.X where
`p` is a path with a type that has a wildcard argument, e.g. `P[X >: L <: H].`
So far the denotation of `p.X` had as info the bounds with which `X` was
declared in `P`. Now it gets the actual parameter bounds instead.

Fixes scala#15652

scala#15652 started failing when tuple unpackings started to use `val`s instead of `def`s
in scala#14816. That caused dependent class parameter references to be created and uncovered
the problem.
@Kordyjan Kordyjan mentioned this pull request Jul 26, 2022
23 tasks
@Kordyjan Kordyjan merged commit 0aab2b7 into scala:release-3.2.0 Jul 27, 2022
@Kordyjan Kordyjan deleted the backport-15667 branch July 27, 2022 08:22
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.

2 participants