Closed bardware closed 7 years ago
Hey @bardware - is that on ACF or Lucee?
@ryaneberly - this issue looks like as if it's related to what Harry recently reported and where we compiled that list of tag attributes to look for. Was cfloop/index maybe missed in there?
relates (a bit) to https://github.com/cflint/CFLint/issues/339
is that on ACF or Lucee
I'm on ACF
ah. this is good... the related issue https://github.com/cflint/CFLint/issues/339 dealt with the issue within the unusedvar plugin. Parsing these tag attributes needs to be moved up to the framework level.
This particular example is fixed, but fixing the concept of handling all variables created by CFML tags is deeper. I'm leaving this open, and the final fix will depend on some cfparser/cfdictionary changes.
This is TCO.
I have the following Coldfusion code and invoke
CFLint
likecflint.bat -file c:\folder\x.cfm -stdout -json
from latest git checkout (1.2 release)I expect 3 missing vars:
xxx
,strSel
andidx
.CFLint
only lists two,idx
is not regarded missing avar