Skip to content

NPE during type inference with HKT + type function #3544

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

Closed
OlivierBlanvillain opened this issue Nov 23, 2017 · 3 comments
Closed

NPE during type inference with HKT + type function #3544

OlivierBlanvillain opened this issue Nov 23, 2017 · 3 comments

Comments

@OlivierBlanvillain
Copy link
Contributor

object Test {
  case class Tuple2K[F[_], G[_], A](f: F[A], g: G[A])

  val p0: Tuple2K[[X] => Int, [X] => String, Any] = Tuple2K(1, "s")
  p0 == Tuple2K(List(1), Option("s"))
}
@allanrenucci
Copy link
Contributor

I think it is a duplicate of #3470

@nerush
Copy link
Contributor

nerush commented Nov 24, 2017

PR 3472 fixes this problem, but I am not sure whether that fix is the most appropriate one.

@nerush
Copy link
Contributor

nerush commented Nov 24, 2017

@olafurpg Do not you mind if I add your example to positive tests ?

odersky added a commit that referenced this issue Jan 14, 2018
Fix #3544: Better cache invalidation of uninstVars
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

No branches or pull requests

3 participants