|
From: EricT <tw...@gm...> - 2025-10-20 22:47:07
|
Christian: Thanks for that info. This means a phased rollout is definitely
needed. However, the fixes can be done ahead of time and remain valid even
if tip 672 is never approved. But see below:
Jan: Thanks so much for testing. I'm curious, when you say tip-672, did you
get it from my repository or has someone added this to the fossil as a
branch? If so, I hope it is the very latest, since I'd updated my
repository at github just the other day.
One thing I just discovered which will make migration slightly more
difficult is that my suggestion of using ${(index)} will only work on a
constant string of index. In order to update $($var) where $var also
includes any [command] substitution, it must be changed to use [set ($var)]
since the {}'s in the ${name} also suppress substitution.
Tcl can certainly produce surprises!
Eric
On Mon, Oct 20, 2025 at 3:33 PM Jan Nijtmans <jan...@gm...> wrote:
>
>
> Op ma 20 okt 2025 om 22:46 schreef Arjen Markus via Tcl-Core <
> tcl...@li...>:
>
>> Hi Eric, everyone,
>>
>>
>>
>> Just for your information: The one extension that I know of that uses an
>> anonymous array is stooop – Simple Tcl-only object-oriented programming –
>> by Jean-Luc Fontaine. It is part of Tcllib.
>>
>
>
> In order to see how bad it is, I did an experiment, how much work
> it is to fix stooop working with TIP #672
>
> Here is the result, it works! ;-)
> <https://core.tcl-lang.org/tcllib/timeline?r=tip-672>
> I ran the tcllib testsuite with Tcl's tip-672 branch.
> Stooop was the only tcllib module which needed
> modification.
>
> Howdee
> Jan Nijtmans
>
> _______________________________________________
> Tcl-Core mailing list
> Tcl...@li...
> https://lists.sourceforge.net/lists/listinfo/tcl-core
>
|