cflint / CFLint

Static code analysis for CFML (a linter)
BSD 3-Clause "New" or "Revised" License
174 stars 84 forks source link

Not parsing array appends correctly. #698

Closed rbreaves closed 3 years ago

rbreaves commented 3 years ago

Handles correctly.

var testArray1 = arrayAppend( [], payload );

Does not handle correctly.

var testArray2 = [].append( payload );

"code": "MISSING_SEMI",
"severity": 8,
"message": "End of statement(;) expected after ]",
"tags": []
KamasamaK commented 3 years ago

Duplicate of #665