Polymorphism in R wrappers fixed for C++ structs

This commit is contained in:
William S Fulton 2022-10-24 08:41:42 +01:00
commit 1d73341aa4
10 changed files with 68 additions and 8 deletions

View file

@ -21,3 +21,7 @@ if x != "Spam::blah":
x = typedef_inherit.do_blah2(d)
if x != "Grok::blah":
raise RuntimeError("Whoa! Bad return {}".format(x))
x = d.far()
if x != "Spam::far":
raise RuntimeError("Whoa! Bad return {}".format(x))