#46 Function name mismatch warning when assigning to property

None
closed
nobody
5
2013-12-07
2013-12-07
Phlip
No

The function_name_mismatch warning doesn't pick up the intended name properly when the function is being assigned to a property, like:
SomeThing.prototype.myFunc = function myFunc() {...};

I've attached a patch which seems to fix it for me.

1 Attachments

Discussion

  • Committed in r347. Thanks for the patch!

     
    • status: open --> closed
    • Group: -->