Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix wrong hooks being picked for tuple types (#1402)
## Summary * fix tuples such as `((A, B),)` and `((A,), B)` being assigned the the same set of hooks * fix the aforementioned tuples sharing the same RTTI object ## Details * add the tuple length to the type representation during type hashing (`sighash`), so that `((A,), B)` and `((A, B),)` result in two different `SigHash`es * `liftdestructors` uses `sighashes` for canonicalizing structural types, thus previously treating said tuples as the same type * RTTI creation, which also uses `SigHash`, was affected in the same way
- Loading branch information