Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13018] CodeProcessor: invokeMethods=false is too aggressive

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-03-15T19:16:36.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.1.0, 2013 Sprint 06 JS, 2013 Sprint 06
ComponentsCode Processor
Labelsn/a
ReporterBryan Hughes
AssigneePraveen Innamuri
Created2013-03-09T22:02:47.000+0000
Updated2017-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.

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source