name mangling and TypeId
should not pass for aliases and generic params
#113443
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
Name mangling currently succeeds even if the mangled type contains projections or opaque types. I am not sure whether
TypeId
has the same issue.This can result in linking errors or potential UB (cc #97156) and we should guard against this by failing to mangle in this case. This change is non-trivial as we currently have name mangling tests which mangle generic modules. These tests should be changed.
cc @michaelwoerister @eddyb
The text was updated successfully, but these errors were encountered: