Fix crash on ErasedType
and covers_at_runtime
#11924
Merged
ErasedType
and covers_at_runtime
#11924