I just re-built bash-20160415 snapshot and am observing the same behavior.
To clarify, the first case is the unexpected one -- shouldn't `declare -n
ref=var; declare -n ref' be a no-op, no matter if $var is set or not?  It
is a no-op when in global scope, but not inside a function.

Reply via email to