Skip to content
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

FunctionDeclarations::isMagicFunction(): bug fix for nested functions #127

Merged
merged 1 commit into from
Mar 29, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 29, 2020

Function declarations nested in a class method declare the function in the global namespace.
See: https://3v4l.org/R32Sl

This was not handled correctly by the function so far. Fixed now.

Includes unit tests covering the fix.

Function declarations nested in a class method declare the function in the global namespace.
See: https://3v4l.org/R32Sl

This was no handled correctly by the function so far. Fixed now.

Includes unit tests covering the fix.
@jrfnl jrfnl force-pushed the feature/functiondeclarations-ismagicfunction-bugfix branch from abcac20 to 585f69d Compare March 29, 2020 19:30
@jrfnl jrfnl merged commit d3ec1ce into develop Mar 29, 2020
@jrfnl jrfnl deleted the feature/functiondeclarations-ismagicfunction-bugfix branch March 29, 2020 19:58
@jrfnl jrfnl modified the milestones: 1.0.0, 1.0.0-alpha3 May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant