Lines Matching defs:fn
38 function fn
40 print global fn $foo
71 function fn
73 print local fn $foo
75 [[ $(fn) == 'local fn bar' ]] || err_exit 'fn inside namespace should run local function'
96 [[ $(fn) == 'global fn abc' ]] || err_exit 'fn outside namespace should run global function'
97 [[ $(.x.fn) == 'local fn bar' ]] || err_exit 'namespace function called from global failed'