try scanning backwards in _cast_or_op
symbol on left of curlies: treat like subscript