aboutsummaryrefslogtreecommitdiff
path: root/tests/expansion/subscript.testscript
AgeCommit message (Collapse)AuthorFilesLines
2020-05-27Add support for value subscript after expansionsadhoc-recipe-historyBoris Kolpackov1-0/+97
Value subscript is only recognized in evaluation contexts (due to ambiguity with wildcard patterns; consider: $x[123].txt) and should be unseparated from the previous token. For example: x = ($y[1]) x = (($f ? $y : $z)[1]) x = ($identity($x)[$z])