Skip to content

Fix #523: Instantiate lower bound when bounds checking #524

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

Merged
merged 1 commit into from
May 2, 2015

Conversation

odersky
Copy link
Contributor

@odersky odersky commented May 2, 2015

Lower bounds need to be instantiated just like upper bounds.
F-bounded polymorphism (which only applies to upper bounds)
is one reason for instantiating arguments, but parameters
referring to other parameters is another one. And the latter
applies to lower bounds as well.

Review by @smarter

Lower bounds need to be instantiated just like upper bounds.
F-bounded polymorphism (which only applies too upper bounds)
is one reason for instantiating arguments, but parameters
referring to other parameters is another one. An the latter
applies to lower bounds as well.
@smarter
Copy link
Member

smarter commented May 2, 2015

LGTM, thanks!

DarkDimius added a commit that referenced this pull request May 2, 2015
Fix #523: Instantiate lower bound when bounds checking
@DarkDimius DarkDimius merged commit bb6582b into scala:master May 2, 2015
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 12, 2016
Fixed scala#524 and improved copy propagation to deal with constants.
@allanrenucci allanrenucci deleted the fix/#523 branch December 14, 2017 19:21
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.

3 participants