Skip to content

Remove SrcSpans from ModIface's mi_warns

See #22698 (comment 503752): we store a Warnings GhcRn in mi_warns, but that is problematic because it contains SrcSpans.

Instead, we should have a separate IfaceWarnings type that only contains the serializable parts of Warnings GhcRn.

Edited by Gergő Érdi
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information