summaryrefslogtreecommitdiff
path: root/CHANGES.current
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2022-10-26 23:25:03 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2022-11-05 08:40:19 +0000
commitf2da4f2aded709e114bf8a4a1a3791f830a06681 (patch)
tree90b81220b2e8eefcf8eb4e9c9098ad1cac54d3f3 /CHANGES.current
parent9e7610f972f3ba770dae3a99ec7a803171396165 (diff)
downloadswig-f2da4f2aded709e114bf8a4a1a3791f830a06681.tar.gz
Improve R wrapper error message calling overloaded methods
when incorrect types passed are passed to the overloaded methods. Old unhelpful error message: Error in f(...) : could not find function "f" Example of new improved error message: Error in use_count(k) : cannot find overloaded function for use_count with argtypes (NULL)
Diffstat (limited to 'CHANGES.current')
-rw-r--r--CHANGES.current10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.current b/CHANGES.current
index 8331dfd66..a72acb5b0 100644
--- a/CHANGES.current
+++ b/CHANGES.current
@@ -11,3 +11,13 @@ Version 4.2.0 (in progress)
[R] #2386 Fix memory leak in R shared_ptr wrappers.
Fix leak when a cast up a class inheritance chain is required.
+2022-10-26: wsfulton
+ [R] Improve R wrapper error message when calling overloaded methods
+ when incorrect types passed are passed to the overloaded methods.
+
+ Old unhelpful error message:
+ Error in f(...) : could not find function "f"
+
+ Example of new improved error message:
+ Error in use_count(k) :
+ cannot find overloaded function for use_count with argtypes (NULL)