Your code works @treeform as long as you fix the typo in tempalte
proc b() =
echo "hi"
template a*() =
b()
RunInside template a, b is a sym,closedSymChoice or openSymChoice so it works regardless of whether or not b is private or not.
