Fix the inheritance for newindex based calls

This commit is contained in:
ThePhD 2016-08-14 13:20:27 -04:00
parent f58ed0c709
commit 80981c2675

View File

@ -320,7 +320,10 @@ namespace sol {
return ret;
}
// Otherwise, we need to do propagating calls through the bases
if (b)
f.indexbaseclasspropogation(L, found, ret, accessor);
else
f.newindexbaseclasspropogation(L, found, ret, accessor);
if (found) {
return ret;
}