Use `localTyper.typedPos(decapturedFunction.pos)(...)`, and avoid manually setting the pos on subtrees.