[TIMOB-13018] CodeProcessor: invokeMethods=false is too aggressive
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-15T19:16:36.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.1.0, 2013 Sprint 06 JS, 2013 Sprint 06 |
Components | Code Processor |
Labels | n/a |
Reporter | Bryan Hughes |
Assignee | Praveen Innamuri |
Created | 2013-03-09T22:02:47.000+0000 |
Updated | 2017-03-09T00:32:01.000+0000 |
Description
When invokeMethods is set to false, it is too aggressive about not invoking methods, leading to results that are pretty worthless. Right now, the check is done at the rule level (I think), but instead it needs to be done in the generic implementation of call in FunctionType. This will prevent user functions from being invoked, but will still allow built-in functions like "Ti.UI.createView" to be invoked, thus increasing the accuracy of things like ti-api-usage-finder.
Closing ticket as fixed.