Skip to content

Conversation

anatoliykmetyuk
Copy link
Contributor

The reason behind the failure was an incorrect desugaring of
polymorphic functions. [A] => A => A desugars to, essentially,
def apply[A](x$1: A): A. Whereas [A] => (f: A) => A desugars
to def apply[A](x$1: f: A): A, which of course does not make
sense.

… function type

The reason behind the failure was an incorrect desugaring of
polymorphic functions. `[A] => A => A` desugars to, essentially,
`def apply[A](x$1: A): A`. Whereas `[A] => (f: A) => A` desugars
to `def apply[A](x$1: f: A): A`, which of course does not make
sense.
@anatoliykmetyuk anatoliykmetyuk merged commit 278f7f4 into scala:master Jul 23, 2019
@anatoliykmetyuk anatoliykmetyuk deleted the i6891 branch July 23, 2019 17:02
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