Status/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 08/22/2013
Components: Language
Versions: 9.0.1
Failure Type: Non Functioning
Found In Build/Fixed In Build: 9.0.1 /
Priority/Frequency: Major / Few users will encounter
Locale/System: English / Win XP All
Vote Count: 1
Repro:
<cfscript>writeOutput("#1 == 2#");</cfscript>
This gives a compile error:
coldfusion.compiler.ParseException: Invalid CFML construct found on line 1 at column 26.
at coldfusion.compiler.cfml40.ExpressionBody(cfml40.java:965)
at coldfusion.compiler.cfml40.StringPrimary(cfml40.java:6443)
at coldfusion.compiler.cfml40.Literal(cfml40.java:5968)
at coldfusion.compiler.cfml40.PrimaryExpression(cfml40.java:5861)
at coldfusion.compiler.cfml40.UnaryExpression(cfml40.java:5716)
at coldfusion.compiler.cfml40.ExponentialExpression(cfml40.java:5673)
at coldfusion.compiler.cfml40.MultiplyDivisionExpression(cfml40.java:5626) (etc)
On the other hand, this works fine:
<cfscript>writeOutput("#1 EQ 2#");</cfscript>
To be clear, this is no production code, it's just a repro case.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3616590
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: