Skip to content

Move let to ValDef and fix signature #10175

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
Nov 6, 2020

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Nov 4, 2020

Rather than remove it as originally planed, we keep it under ValDef as it creates a block with vals.
Both signatures take an return an Ident now.

@nicolasstucki nicolasstucki force-pushed the move-reflection-let branch 3 times, most recently from 914ff65 to cee7671 Compare November 5, 2020 10:32
@nicolasstucki nicolasstucki added this to the 3.0.0 milestone Nov 5, 2020
@nicolasstucki nicolasstucki marked this pull request as ready for review November 5, 2020 12:29
@nicolasstucki nicolasstucki force-pushed the move-reflection-let branch 2 times, most recently from 927a077 to b8c4ee7 Compare November 6, 2020 13:32
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

LGTM

@nicolasstucki nicolasstucki changed the title Move let to Block and fix signature Move let to ValDef and fix signature Nov 6, 2020
Rather than remove it as originally planed, we keep it under Block as it creates a block with vals.
Both signatures take an return an Ident now.

Also add variant of let with custom name
@nicolasstucki nicolasstucki merged commit 312a420 into scala:master Nov 6, 2020
@nicolasstucki nicolasstucki deleted the move-reflection-let branch November 6, 2020 19:57
@Kordyjan Kordyjan modified the milestones: 3.0.0-M3, 3.0.0 Aug 2, 2023
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.

3 participants