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

Fixes around recursive function calls #5148

Merged

Conversation

MDoerner
Copy link
Contributor

Closes #5147

This PR fixes that both the IndexDefaultBinding and the ProcdureCoercionBinding did not consider recursive function calls. For these, the expression referring to the function is classified as a variable becasue that is appropriate for the variable holding the return value. So, this situation needs to be special cased.

This fixes that the reference to the contained function was treated like a variable instead of a function call.
@retailcoder retailcoder merged commit 91c57a8 into rubberduck-vba:next Sep 15, 2019
@MDoerner MDoerner deleted the FixesAroundRecursiveFunctionCalls branch February 19, 2020 21:07
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.

Code Inspection: Missing default member error
2 participants