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

Re: RFC PATCH: Sketch at :@ subscripting



On Sat, Apr 10, 2021 at 1:39 PM Lawrence Velázquez <larryv@xxxxxxx> wrote:
>
> > Could someone add that as an XFail test (one with the 'F' flag)?

This OK?

diff --git a/Test/D06subscript.ztst b/Test/D06subscript.ztst
index c1a8d79cf..4225c543c 100644
--- a/Test/D06subscript.ztst
+++ b/Test/D06subscript.ztst
@@ -289,3 +289,8 @@ F:Regression test for workers/42297
 >14 24
 >b b
 >b?rbaz foob?r
+
+  i=1,3
+  [[ ${a[$i]} = ${a[i]} ]]
+0f:Math evaluation of commas in array subscripts
+F:In math, (($i)) should be the same as ((i)).




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