Status/Resolution/Reason: Open//
Reporter/Name(from Bugbase): Legorol S. / ()
Created: 07/17/2019
Components: Editor Features, Syntax Checking
Versions: 2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 313943 /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 10 64 bit
Vote Count: 0
Problem Description:
As of CFB 2018, keywords such as 'try' are no longer allowed by the editor as variable names in tag syntax. This was not the case in CFB 2016. This behaviour is not consistent with documentation and the actual behaviour of CF server, which is still happy with it.
All three of the following documentation pages consistently state that keywords such as 'try' are reserved only in script syntax, not in tag syntax:
https://helpx.adobe.com/coldfusion/developing-applications/the-cfml-programming-language/elements-of-cfml/reserved-words-in-coldfusion.html
https://helpx.adobe.com/coldfusion/cfml-reference/reserved-words-and-variables/reserved-words.html
https://helpx.adobe.com/coldfusion/developing-applications/the-cfml-programming-language/extending-coldfusion-pages-with-cfml-scripting/what-is-supported-in-cfscript.html
Steps to Reproduce:
A line of code such as:
<cfset try=0>
Actual Result:
The editor places an error marker, with the error message:
"Invalid Token try at line 2, column 8
Missing token > or />"
Expected Result:
No error, as was the case in CFB 2016.
Any Workarounds:
None
Attachments:
Comments: