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

filter out varargs star more uniformly #6929

Closed
scabug opened this issue Jan 6, 2013 · 3 comments
Closed

filter out varargs star more uniformly #6929

scabug opened this issue Jan 6, 2013 · 3 comments
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Jan 6, 2013

In scala/scala@649c2784 I modified lub not to accidentally lub its way to T* types, and included this comment:

-      existentialAbstraction(tparams, lubType)
+      // dropRepeatedParamType is a localized fix for SI-6897. We should probably
+      // integrate that transformation at a lower level in master, but lubs are
+      // the likely and maybe only spot they escape, so fixing here for 2.10.1.
+      existentialAbstraction(tparams, dropRepeatedParamType(lubType))
@scabug
Copy link
Author

scabug commented Jan 6, 2013

Imported From: https://issues.scala-lang.org/browse/SI-6929?orig=1
Reporter: @paulp
See #6897

@SethTisue
Copy link
Member

SethTisue commented Nov 7, 2018

#8923 is in the same area.

@som-snytt the issue description here is vague. I'm tentatively closing on the presumption that after scala/scala#7399, more fundamental changes in this area are unlikely in Scala 2, but we can reopen if there's dissent

@Jasper-M

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants