-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide ability to check type equality modulo opaque pointers
This patch implements `eqTypeModuloOpaquePtrs` and `cmpTypeModuloOpaquePtrs` functions, which provide coarser notions of type equality and comparison that do not distinguish between `PtrTo` and `PtrOpaque`, unlike the `Eq` and `Ord` instances for `Type`. This is useful to support code in which `PtrTo` and `PtrOpaque` exist in the same file. See #102.
- Loading branch information
1 parent
5797c56
commit 1a59831
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters