mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix the inheritance for newindex based calls
This commit is contained in:
parent
f58ed0c709
commit
80981c2675
|
@ -320,7 +320,10 @@ namespace sol {
|
|||
return ret;
|
||||
}
|
||||
// Otherwise, we need to do propagating calls through the bases
|
||||
f.indexbaseclasspropogation(L, found, ret, accessor);
|
||||
if (b)
|
||||
f.indexbaseclasspropogation(L, found, ret, accessor);
|
||||
else
|
||||
f.newindexbaseclasspropogation(L, found, ret, accessor);
|
||||
if (found) {
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user