Files
Slava Pestov 8372258215 Sema: Fix crash in default witness table checking for associated conformances
It is possible to state an associated requirement on a protocol such
that a default associated type in another protocol no longer satifies
this requirement. If the other protocol was from a serialized module,
we would crash while getting the TypeRepr for its default type.

Fix this by checking if the TypeRepr is set, and if not set, just emit
a note at the associated type declaration without highlighting the
default type.

Fixes rdar://180489587.
2026-07-03 16:44:59 -04:00
..