[R] Improve error message for missing argtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
98441fc6ad
commit
f77ccd81d5
1 changed files with 2 additions and 1 deletions
|
|
@ -1628,7 +1628,8 @@ void R::dispatchFunction(Node *n) {
|
|||
}
|
||||
if (cur_args != -1) {
|
||||
Printf(f->code, "} else {\n"
|
||||
"stop(\"cannot find overloaded function for %s\");\n"
|
||||
"stop(\"cannot find overloaded function for %s with argtypes (\","
|
||||
"toString(argtypes),\")\");\n"
|
||||
"}", sfname);
|
||||
}
|
||||
Printv(f->code, ";\nf(...)", NIL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue