Fix caster optimization regression introduced in #3650 (#3659)

* Fix optimization bug introduced in #3650

* Add simple Python extension test for MVF

* Improve comments

* Clarify comment

* Clarify another comment

* Add test docstring

* Fix typo
This commit is contained in:
Aaron Gokaslan
2022-01-31 12:19:48 -05:00
committed by GitHub
parent bf7e5f9284
commit 3a8d92308d
4 changed files with 32 additions and 7 deletions

View File

@@ -235,7 +235,7 @@ TEST_SUBMODULE(multiple_inheritance, m) {
// - functions are get_{base}_{var}, return {var}
struct MVB {
MVB() = default;
MVB(const MVB&) = default;
MVB(const MVB &) = default;
virtual ~MVB() = default;
int b = 1;