added FnDecl declaration errors for type and formals