Closed zspitzer closed 4 years ago
fixed in dev
I'm not sure why it's triggering now in the first place since event
is never declared in the local scope. It didn't trigger in 1.4.1. Also, now 4 testVarAndArgs tests are failing.
all tests are passing in dev closing this one
@ryaneberly Yes, tests are passing now. I'm still not sure about this rule, though. event
was never declared as a local variable, so the issue is misleading. It seems to me that it's just complaining that the second reference is not explicitly scoped.
Using CFLint with Sublimelinter, when there are mixed references to variables in the arguments scope, the highlighted row isn't the first conflicting use, but following conflict.
I'd expect line 6 to be highlighted, rather than line 7
CFlintTestCase.cfc.txt