mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
38586: Metafication problem with $functions
If treated as a complete associative array or scanned (retrieving individual values was not affected), it incorrectly unmetafied the value so multibyte characters got confused. Add test.
This commit is contained in:
parent
f84a5da8c2
commit
dcffad8326
3 changed files with 15 additions and 5 deletions
|
|
@ -553,3 +553,12 @@
|
|||
0:${(q+)...} with printable multibyte characters
|
||||
>ホ
|
||||
>'She said "ホ". I said "You can'\''t '\''ホ'\'' me!'
|
||||
|
||||
# This will silently succeed if zsh/parameter isn't available
|
||||
(zmodload zsh/parameter >/dev/null 2>&1
|
||||
f() {
|
||||
: $(:)
|
||||
"↓"
|
||||
}
|
||||
: $functions)
|
||||
0:Multibtye handled of functions parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue