Skip to content

Conversation

@sdimitro
Copy link
Contributor

@sdimitro sdimitro commented Feb 3, 2021

Fix regressions introduced by drgn's updated type equality

drgn recently dropped all semantics of == for drgn.Type objects
in the following commit as there are multiple reasonable ways
to define type equality depending on the use case:
osandov/drgn@7d7aa7b

We already have our own definition within SDB were we pretty
much match types by name [see comment sdb.target.type_equals()].
This commit updates leftover instances of == for types within SDB.

Testing

Automated tests/regressions don't fail anymore

drgn recently dropped all semantics of == for drgn.Type objects
in the following commit as there are multiple reasonable ways
to define type equality depending on the use case:
osandov/drgn@7d7aa7b

We already have our own definition within SDB were we pretty
much match types by name [see comment sdb.target.type_equals()].
This commit updates leftover instances of == for types within SDB.
@sdimitro sdimitro force-pushed the update_drgn_type_equality branch from a0a4378 to df405cd Compare February 3, 2021 22:12
@sdimitro sdimitro changed the title Fix Latest Regressions; Update mypy options Fix Latest Regressions Feb 3, 2021
@sdimitro sdimitro merged commit 6754f05 into delphix:master Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants