Fixed a bug in TypeCheckingVisitor.cpp, checking for function without params
indeed is without params