Skip to content

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

Merged
jrfnl merged 1 commit into
developfrom
feature/functiondeclarations-ismagicfunction-bugfix
Mar 29, 2020
Merged

FunctionDeclarations::isMagicFunction(): bug fix for nested functions#127
jrfnl merged 1 commit into
developfrom
feature/functiondeclarations-ismagicfunction-bugfix

Conversation

@jrfnl

@jrfnl jrfnl commented Mar 29, 2020

Copy link
Copy Markdown
Member

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

Development

Successfully merging this pull request may close these issues.

1 participant