Fix incorrect access for methods added via the 'using' declaration
Exception specifications were not being added to methods added via the 'using' declaration git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8131f53e11
commit
c697a7368a
1 changed files with 4 additions and 0 deletions
|
|
@ -831,10 +831,14 @@ class TypePass : private Dispatcher {
|
|||
}
|
||||
}
|
||||
Node *nn = copyNode(c);
|
||||
Delattr(nn,"access"); // access might be different from the method in the base class
|
||||
if (!Getattr(nn,"sym:name")) Setattr(nn,"sym:name", symname);
|
||||
|
||||
if (!Getattr(nn,"feature:ignore")) {
|
||||
Setattr(nn,"parms",CopyParmList(Getattr(c,"parms")));
|
||||
ParmList *throw_parm_list = Getattr(c,"throws");
|
||||
if (throw_parm_list)
|
||||
Setattr(nn,"throws",CopyParmList(throw_parm_list));
|
||||
ccount++;
|
||||
if (!last_unodes) {
|
||||
last_unodes = nn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue