Skip to content

Unifiy function and method lexer definitions. #7154

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

Closed
wants to merge 2 commits into from

Conversation

Crell
Copy link
Contributor

@Crell Crell commented Jun 15, 2021

Function and method bodies are declared in two different ways. Instead, let's unify them to defer to a common body definition.

(This was originally part of the short-functions RFC, #6221, that did not pass, but IMO this is still useful simplification.)

@Crell Crell mentioned this pull request Jun 15, 2021
@nikic
Copy link
Member

nikic commented Jun 15, 2021

I don't think this change really adds clarity... It made sense as part of the short functions RFC, but I don't think it makes sense independently, as there is only one production now.

@krakjoe
Copy link
Member

krakjoe commented Jun 18, 2021

Looks like we don't want to do this.

@krakjoe krakjoe closed this Jun 18, 2021
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