Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] [long] typeset doesn't report tied parameters (and related issues)



On Mon, Oct 8, 2018 at 8:54 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
>  function {
>    local -rax zsh_exported_readonly_array=(2)
>    local -rAx zsh_exported_readonly_hash=(3 3)
>    local -rx zsh_exported_readonly_scalar=1
>    print zsh:
>    export -p | grep zsh_exported_readonly
>    readonly -p | grep zsh_exported_readonly
>    print sh:
>    emulate -L sh
>    export -p | grep zsh_exported_readonly
>    readonly -p | grep zsh_exported_readonly
>    print still asking for arrays:
>    export -ap | grep zsh_exported_readonly
>    readonly -ap | grep zsh_exported_readonly
>  }

This runs to successful completion from an interactive Src/zsh -f.  So
do the couple of tests immediately before it.   I suspect it's some
kind of cascading effect from the series of tests in B02, but I'm not
sure how far I back one has to go.



Messages sorted by: Reverse Date, Date, Thread, Author