diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-24 16:51:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-05-28 10:10:44 +0200 |
commit | af5fa9e744acf6da12f2eab7f44810195c0d3ecd (patch) | |
tree | 3685dda19882b79a20235286f2c8593797d55de6 /tests/expansion | |
parent | 9c3e14bb61d6fb1da6ada3213e2c4d566ddd5e33 (diff) |
Ban conversion of patterns to values
Also improve conversion diagnostic.
Diffstat (limited to 'tests/expansion')
-rw-r--r-- | tests/expansion/subscript.testscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expansion/subscript.testscript b/tests/expansion/subscript.testscript index 0c06394..38728d4 100644 --- a/tests/expansion/subscript.testscript +++ b/tests/expansion/subscript.testscript @@ -85,7 +85,7 @@ EOE : invalid-subscript : $* <'print ($x[1a])' 2>>EOE != 0 -<stdin>:1:11: error: invalid value subscript: invalid uint64 value: '1a' +<stdin>:1:11: error: invalid value subscript: invalid uint64 value '1a' <stdin>:1:9: info: use the '\[' escape sequence if this is a wildcard pattern EOE |