Skip to content

Fix insertion of using in applications with trailing lambda syntax #22937

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Apr 12, 2025

Conversation

mbovel
Copy link
Member

@mbovel mbovel commented Apr 8, 2025

Fixes #22731

@tgodzik
Copy link
Contributor

tgodzik commented Apr 8, 2025

This prompted me to raise #22939 might be good for all kinds of sprees.

@mbovel mbovel force-pushed the mb/22731b branch 2 times, most recently from 30d90e3 to 82e1f5e Compare April 8, 2025 16:56
mbovel and others added 2 commits April 8, 2025 16:58
Co-Authored-By: Abdullah Arif Jafri <98524116+ajafri2001@users.noreply.github.com>
@mbovel mbovel marked this pull request as ready for review April 8, 2025 19:28
@mbovel mbovel requested a review from odersky April 8, 2025 20:00
@som-snytt
Copy link
Contributor

I think "trailing lambda syntax" means "block argument syntax".

It reminds me that "Mary had a little lamb [etc] and everywhere that Mary went, the lamb was sure to go." So that would be a "trailing lamb".

https://en.wikipedia.org/wiki/Mary_Had_a_Little_Lamb

@odersky odersky merged commit e70ea84 into scala:main Apr 12, 2025
29 checks passed
@odersky odersky deleted the mb/22731b branch April 12, 2025 17:57
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong rewrite of implicit arguments passed as { }
4 participants