You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pattern bound symbols infer their bounds which then get installed as
their info (in indexPattern). So I want to remove the duplication of
info, in the persisted pickle. However, we have a mode in TypeComparer
where we don't trust type bounds, to pessimistically protect against bad
bounds. So removing the info from the GADT bounds made that code broke,
which is why I had looked to handling that in TypeComparer.
However, in the body of the match the pattern bound symbols can gain
more GADT bounds, so perhaps using `isPatternBound` is too naive? And,
in general, it's a change that would need to be studied for its
soundness impact. So, let's leave the algorithm as it is and just keep
the potential duplication. At least for right now.
0 commit comments