You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
swashata
changed the title
Getting proper method name from prototypelookup chain (with a solution)
Getting proper method name from propertylookup chain (with a solution)
Jan 30, 2024
Hi! 馃憢
Firstly, thanks for your work on this project! 馃檪
Today I used patch-package to patch
wp-pot@1.10.2
for the project I'm working on.I realized that the package goes only one level deep when trying to figure out a prototype call.
So if I have something like
It fails to extract. However the following works:
Here is the diff that solved my problem:
This will keep on looking down the prototype until it has found the
variable
and then create the method name.If you're interested in this kind of solution, please let me know. I will create a PR, with tests. Thank you.
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: