Skip to content

Conversation

agluszak
Copy link

typedFunPart in Applications.scala should only adapt E to new E when we're applying E to some term parameters.

Fixes #10681.
Also fixes #10679.

Thanks @liufengyun and @smarter for help :)

@smarter
Copy link
Member

smarter commented Dec 21, 2020

I think this change makes a lot of sense by itself, but while this PR was open #10784 was merged which completely changed the way creator application is implemented to be based on synthetic apply methods instead of a fallback in typer (to avoid accidentally falling back in case of ambiguity errors for example), so this PR isn't necessary anymore, but thank you for taking the time to work on it and we may come back to it if #10784 ends up being reverted!

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.

Can use Applied HK type in term position Curried type parameters application crash

2 participants