On Mon, Sep 25, 2023 at 8:26 AM Ernie Rael <
err...@raelity.com> wrote:
>
> Hi all,
>
> I'm wondering if I'm seeing an error
>
> ":help lockvar" seems to indicate that the following should work.
> The goal is to get a writable variable "l1" that holds a locked list.
>
> vim9script
> var l0: list<list<number>> = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ]
> var l1 = l0
> lockvar! l1
> unlockvar 0 l1 # <<<<< expect "l1" writable, list still locked
>