DEV: Enable optional chaining in all contexts (PR #13180)

GitHub