Renaming things updates them in expressions, unless there is a Try/Catch expression involved
I have an expression that links to another layer. When you update a Layer name or Property name, then that name is updated in all the expressions that use that name (Extendscript calls this autoFixExpressions).
However, if an expression contains a Try/Catch statement, then no matter what, the names won't update in the expression (almost like AutoFixExpressions doesn't work if the expression contains a try/catch).
I'm not sure how I haven't encountered this before, as try/catches are useful just incase links are broken or are missing. I've posted this to Reddit, asking if this is a bug or a 'just me' issue, but it seems that it happens to others as well.
Thanks for filing this bug.
This issue has been forwarded to the developers to investigate.