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

existential with higher kinded quantifier seems to lose lower bound during typedExistentialTypeTree or packSymbols #9325

Closed
scabug opened this issue May 24, 2015 · 2 comments · Fixed by scala/scala#6123
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented May 24, 2015

% cat sandbox/test.scala; scalac sandbox/test.scala && scala Test
object Test {
  import reflect.runtime.universe._

  def main(args: Array[String]): Unit = {
    println(typeOf[A forSome {type A >: Int <: String}])
    println(typeOf[A[Int] forSome {type A[_] >: Int <: String}])
  }
}
warning: there were three feature warnings; re-run with -feature for details
one warning found
A forSome { type A >: Int <: String }
A[Int] forSome { type A[_] <: String }
@scabug
Copy link
Author

scabug commented May 24, 2015

Imported From: https://issues.scala-lang.org/browse/SI-9325?orig=1
Reporter: @retronym
Affected Versions: 2.11.6

@scabug
Copy link
Author

scabug commented May 24, 2015

@retronym said:
I found the spot we discard them.

https://github.com/retronym/scala/tree/ticket/9325

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

Successfully merging a pull request may close this issue.

2 participants