Skip to content

implicit functions and their resolving implicit values ko in one file while ok in many files #5419

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
LucDuponcheelAtGitHub opened this issue Nov 9, 2018 · 0 comments

Comments

@LucDuponcheelAtGitHub
Copy link

In an attempt to define and use a low-down-dirty lazyness implementation I encountered an issue with modeling thunks using implicit functions using one file, while, when using many files, everything is fine.

https://github.com/PDBP/lazyness is a GitHub project that as a README.md that explains the issue.

smarter added a commit to dotty-staging/dotty that referenced this issue Nov 11, 2018
In general this is problematic since it can lead to widening, but it's
especially bad when using an implicit function type as a case class
parameter type
smarter added a commit that referenced this issue Nov 11, 2018
Fix #5419: explicit result types for _N in case classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants