Hi,

Apologizes if I missed something in the documentation, but I'm running into the following problem and wondering what is the intended behaviour.

Unsetting a variable declared with param/private and then modifying it returns the error "can't change parameter attribute". Declaring using `local` works, however, and preserves the `local-scalar` attribute.

Example code, run on zsh-5.9:

zmodload zsh/param/private
function foo() {
    private x=1
    unset x
    x=2
}
foo

/Joshua