Skip to content
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

Fix #1444: Pass implicits to parameterless traits if needed #1456

Merged
merged 2 commits into from Aug 21, 2016

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Aug 17, 2016

Fixes #1444. Review by @smarter.

Based on #1434.

@odersky
Copy link
Contributor Author

odersky commented Aug 18, 2016

Only last 2 commits are new.

If a super trait is given as a type (i.e. no argument list), implicit args were
not passed. This is fixed now. Also, we now check for parameterized traits lacking
type arguments in Typer instead of in Mixin.

Fixes scala#1444.
@smarter
Copy link
Member

smarter commented Aug 21, 2016

LGTM, but SIP-25 should be updated to explicitly mention the semantics of trait implicit paramter lists since they're not obvious

@smarter
Copy link
Member

smarter commented Aug 21, 2016

/rebuild

@odersky
Copy link
Contributor Author

odersky commented Aug 21, 2016

I added something to SIP 25. Still have to figure out where to publish it.

@odersky odersky merged commit bcfa3be into scala:master Aug 21, 2016
@allanrenucci allanrenucci deleted the fix-#1444 branch December 14, 2017 16:59
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.

None yet

3 participants