-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add missing MkProducer argument, force compiler errors when they're missing #585
Conversation
Exciting update: it doesn't compile with Scala 2.12 anyway. I guess I'll just leave the ambiguous implicits stuff out, but I'm still not happy with that. |
Exciting update no. 2: It now compiles in Scala 2.12, courtesy of added ugliness. |
Could you please explain why do we need this? As far as I understand, without |
It's not strictly needed, but it's an extra safeguard against us writing factory methods that don't require an
There's no problem with the default instance derived from |
Oh, so that's for library maintainers mostly, not for users. Ok, I got it. |
This is intended to catch bugs like the one this PR fixes on lines 642-63 of |
👍 didn't see your reply before my second comment |
I'm not 100% happy with the added boilerplate, or with it being needed, but I don't have a better idea. Any thoughts?