elvish icon indicating copy to clipboard operation
elvish copied to clipboard

variable leakage out of `for` loop

Open tw4452852 opened this issue 5 months ago • 2 comments

What happened, and what did you expect to happen?

~> put $i
Compilation error: variable $i not found
  [tty 162]:1:5-6: put $i
~> for i [1 2] { nop }
~> put $i
▶ 2

i should only be valid inside for loop.

Output of "elvish -version"

0.21.0

Code of Conduct

tw4452852 avatar Aug 04 '25 08:08 tw4452852

Looks like Elvish is unmaintained??

pepa65 avatar Aug 21 '25 02:08 pepa65

It's not unmaintained, but xiaq recently started a new job and has not had much time to work on Elvish recently.

Development has indeed been a little slow recently. But many of us are committed to Elvish for the long haul and are keen to see the development pace pick up again.

In the meantime, enjoy what's already working! 😊

tesujimath avatar Aug 24 '25 04:08 tesujimath