You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CFLint gives me an error on line 1: End of statement(;) expected after abstract
CFLint gives me an error on line 12: End of statement(;) expected after function
CFLint gives me an error on line 12: End of statement(;) expected after false (This one is not visible in VS Code due being on the same line as the previous one. It can be seen by running CFLint manually, see below.)
Possible workaround
Remove abstract from the component during development. In my case this causes problems with depencendy injection tho.
Rewrite all abstract components in the cftag syntax, where it works.
Additional Information
Windows 11
Lucee 5.3.10.97
Generated JSON from running CFLint-1.5.0-all.jar directly on the file with java -jar D:\CFLint\CFLint-1.5.0-all.jar -file D:\my-project\webroot\model\services\aFoo.cfc -json in the Windows Terminal
Scenario
CFLint-1.5.0-all.jar
with the VS Code extensionCFLint v0.3.6
aFoo.cfc
with the following contents:Expected behaviour
CFLint should see no problems with this file.
Effective behaviour
End of statement(;) expected after abstract
End of statement(;) expected after function
End of statement(;) expected after false
(This one is not visible in VS Code due being on the same line as the previous one. It can be seen by running CFLint manually, see below.)Possible workaround
abstract
from the component during development. In my case this causes problems with depencendy injection tho.cftag
syntax, where it works.Additional Information
Generated JSON from running
CFLint-1.5.0-all.jar
directly on the file withjava -jar D:\CFLint\CFLint-1.5.0-all.jar -file D:\my-project\webroot\model\services\aFoo.cfc -json
in the Windows TerminalThe text was updated successfully, but these errors were encountered: