Problem Description:
When using safe navigation on an object that has keys which are considered "reserved keywords", ColdFusion will throw an error.
Steps to Reproduce:
x.contains = 1;
writeDump(x?.contains);
Live example: https://trycf.com/editor/gist/86165ad2fc410e501e7cda7069c294ed/acf2016
Actual Result:
Invalid CFML construct found... error
Expected Result:
1
Any Workarounds:
Not use safe navigation
Attachments:
Comments: