Skip to content

Fix #9342: Use semantic name for inline bindings #9379

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 1 commit into from
Aug 10, 2020

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki linked an issue Jul 16, 2020 that may be closed by this pull request
@nicolasstucki nicolasstucki force-pushed the fix-#9342 branch 2 times, most recently from a1bd4e8 to 771c1ca Compare July 17, 2020 09:16
@nicolasstucki nicolasstucki requested a review from odersky July 17, 2020 13:37
@nicolasstucki nicolasstucki marked this pull request as ready for review July 17, 2020 13:37
@@ -295,7 +295,7 @@ object NameKinds {
val DocArtifactName: UniqueNameKind = new UniqueNameKind("$doc")
val UniqueInlineName: UniqueNameKind = new UniqueNameKind("$i")
val InlineScrutineeName: UniqueNameKind = new UniqueNameKind("$scrutinee")
val InlineBinderName: UniqueNameKind = new UniqueNameKind("$elem")
val InlineBinderName: UniqueNameKind = new UniqueNameKind("$bind")
Copy link
Contributor

Choose a reason for hiding this comment

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

I find bind too unspecific, and of the wrong kind. If we use it, it should be binder, not bind. But maybe proxy is better?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, renamed to proxy

@odersky odersky assigned nicolasstucki and unassigned odersky Aug 10, 2020
@nicolasstucki nicolasstucki merged commit 844be0d into scala:master Aug 10, 2020
@nicolasstucki nicolasstucki deleted the fix-#9342 branch August 10, 2020 13:09
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.

Inlined parameter name conflict
2 participants