Skip to content

Fix #1639: Changes around implicits and apply methods #1658

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

Merged
merged 3 commits into from
Dec 3, 2016

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Nov 5, 2016

While trying to fix #1639 I discovered two other areas where things could be improved. The PR contains:

Review by @smarter

Error messages of nested implicit failures are now
reported with the top-level message if -explaintypes is set.
When tracing i1639.scala it became apparent that we compute
a lot of companion refs. This commit avoids this by better
book-keeping what is valid and what is not and more
aggressive caching.
This can lead to stackoverflow, as i1639.scala shows.

Fixes scala#1639.
@odersky
Copy link
Contributor Author

odersky commented Nov 24, 2016

Rebased to master

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.

stack overflow compiling single-arg implicit constructor with empty auxiliary ctor
1 participant