Skip to content

Allow newlines in arrow functions #301

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 4 commits into from
Mar 31, 2023
Merged

Conversation

sirbrillig
Copy link
Owner

@sirbrillig sirbrillig commented Mar 31, 2023

I was under the impression that arrow functions could not contain newlines but I was wrong.

Fixes #300
Fixes #299

@sirbrillig sirbrillig merged commit dc5582d into 2.x Mar 31, 2023
@sirbrillig sirbrillig deleted the fix/newlines-in-arrow-functions branch March 31, 2023 16:46
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.

Undefined variable error introduced in v2.11.15 Incorrect warning Variable $var is undefined.
1 participant