Skip to content

[NodeTypeResolver] Pass null on 2nd arg on ReflectionProvider->getFunction() to ensure get correct function#6829

Merged
samsonasik merged 13 commits into
mainfrom
pass-null-2nd-arg-get-function
Apr 12, 2025
Merged

[NodeTypeResolver] Pass null on 2nd arg on ReflectionProvider->getFunction() to ensure get correct function#6829
samsonasik merged 13 commits into
mainfrom
pass-null-2nd-arg-get-function

Conversation

@samsonasik
Copy link
Copy Markdown
Member

@muxx @TomasVotruba

After re-check on

the issue seems due to pass Scope on 2nd arg on ReflectionProvider->getFunction() which make only pass current scope, which cause invalid on locate global function.

This patch fix it and remove unnecessary compare getName() of function call and ReflectionProvider->getFunction()->getName()

@samsonasik
Copy link
Copy Markdown
Member Author

I added fixture for current namespace locate 653beec

see https://3v4l.org/hnRV6

@samsonasik
Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit b92f984 into main Apr 12, 2025
45 checks passed
@samsonasik samsonasik deleted the pass-null-2nd-arg-get-function branch April 12, 2025 11:48
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 1, 2025

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants