Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CF2016 fix where the precedence of arguments results in the parent scope, not the child#11

Merged
markmandel merged 1 commit into
markmandel:developmarkmandel/JavaLoader:developfrom
danielslaughter:hotfix/arguments-scopedanielslaughter/JavaLoader:hotfix/arguments-scopeCopy head branch name to clipboard
Nov 17, 2016
Merged

CF2016 fix where the precedence of arguments results in the parent scope, not the child#11
markmandel merged 1 commit into
markmandel:developmarkmandel/JavaLoader:developfrom
danielslaughter:hotfix/arguments-scopedanielslaughter/JavaLoader:hotfix/arguments-scopeCopy head branch name to clipboard

Conversation

@danielslaughter

Copy link
Copy Markdown

CF2016 fix where the precedence of arguments results in the parent scope, not the child.

This caused the arguments structure referenced in _buildArgumentArray to have a StructCount of 1, containing the array of arguments, even if no arguments were passed. Simply renaming the variable to something that isn't a scope variable (args) fixes the issue.

…nd not the child variable of arguments.arguments. This caused the arguments structure referenced in _buildArgumentArray to have a StructCount of 1, containing the array of arguments. Simply renaming the variable to something that isn't a scope variable (args) fixes the issue.
@markmandel markmandel merged commit 72ef32f into markmandel:develop Nov 17, 2016
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.