On Wed Apr 12 06:01:07 2023 +0000, Mohamad Al-Jaf wrote:
Sorry, I wasn't thinking clearly earlier, I added a check for the name `HANDLE` and to see if it's NULL before checking it.
I think typegen_detect_type returns TGT_POINTER the first time, and then it causes check_field_common to loop and call it again with the pointee.