Skip to content

Remove some implicit conversions #4312

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

Conversation

OlivierBlanvillain
Copy link
Contributor

Subsumes #4077 as a new PR to keep the per commit comments. I addressed the comments in the original PR and removed the commits that where not marked lgtm, expect for the PreName one to continue the discussion, see this comment.

@OlivierBlanvillain OlivierBlanvillain force-pushed the cleanup-megamorphic-calls-3 branch 2 times, most recently from 79d2225 to 9830806 Compare April 18, 2018 09:05
Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM

final def infoOrCompleter = multiHasNot("info")
final def info(implicit ctx: Context) = infoOrCompleter
// final def info(implicit ctx: Context) = infoOrCompleter
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping

@nicolasstucki
Copy link
Contributor

@OlivierBlanvillain this PR needs a rebase

@OlivierBlanvillain OlivierBlanvillain changed the title Remove PreName and other implicit conversions Remove some implicit conversions May 8, 2018
@OlivierBlanvillain OlivierBlanvillain force-pushed the cleanup-megamorphic-calls-3 branch from 9830806 to 70fcd52 Compare June 4, 2018 16:00
@OlivierBlanvillain OlivierBlanvillain force-pushed the cleanup-megamorphic-calls-3 branch from 119b788 to 08197ef Compare July 12, 2018 08:59
final def infoOrCompleter = multiHasNot("info")
final def info(implicit ctx: Context) = infoOrCompleter
// final def info(implicit ctx: Context) = infoOrCompleter
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping

@@ -0,0 +1,41 @@
import dotty.tools.dotc._
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was removed from master

@nicolasstucki
Copy link
Contributor

It is impossible to review the merge commit. Could you rebase instead.

@OlivierBlanvillain OlivierBlanvillain force-pushed the cleanup-megamorphic-calls-3 branch 2 times, most recently from d7ae2b1 to f1853c7 Compare July 12, 2018 12:26
@nicolasstucki
Copy link
Contributor

Needs a rebase to remove the optimised-tests.

@OlivierBlanvillain OlivierBlanvillain force-pushed the cleanup-megamorphic-calls-3 branch from f1853c7 to 7f89686 Compare August 2, 2018 15:01
@OlivierBlanvillain OlivierBlanvillain force-pushed the cleanup-megamorphic-calls-3 branch from 7f89686 to a55dae9 Compare August 3, 2018 09:10
Copy link
Contributor

@Blaisorblade Blaisorblade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything LGTM here, also because all controversial changes were screened in #4077 (haven't re-double-checked), and the extra boilerplate is always limited (even the Context -> ContextBase touches few lines).

@Blaisorblade
Copy link
Contributor

Leaving merge to @OlivierBlanvillain in case there's any other concern I don't know about, but I think we're good! 🎉

@OlivierBlanvillain OlivierBlanvillain merged commit f20f92a into scala:master Aug 6, 2018
@OlivierBlanvillain OlivierBlanvillain deleted the cleanup-megamorphic-calls-3 branch August 6, 2018 09:24
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.

4 participants