removed TFunVar (use instead normal var with kind = Function)