From dcffad8326878c1a4c539b9b32c6b497f4032e5d Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 3 Jun 2016 10:28:03 +0100 Subject: 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. --- Test/D07multibyte.ztst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Test/D07multibyte.ztst') diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst index 39ba5ef8b..dedf2417a 100644 --- a/Test/D07multibyte.ztst +++ b/Test/D07multibyte.ztst @@ -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 -- cgit 1.4.1