Community
Participate
Working Groups
Consider the following snippet: var arguments = { callee: 1 } arguments.callee; The 'callee' part will be tagged as deprecated (when it shouldn't be) we should only be warning about the use when inside functions, like: function f() { arguments.callee(); } and var f = function f() { arguments.callee(); } and function* f() { yield arguments.caller(); } var f = function* f() { yield* arguments.caller(); }
Fix + tests: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=f12fa7c1d7047203d1770e0a713b9147c271b0f8 also updated the rule to check for arguments['callee'] and arguments['caller'].