Skip to content
  • Ryan Scott's avatar
    Fix #16411 by making dataConCannotMatch aware of (~~) · 36546a43
    Ryan Scott authored and Marge Bot's avatar Marge Bot committed
    The `dataConCannotMatch` function (which powers the
    `-Wpartial-fields` warning, among other things) had special reasoning
    for explicit equality constraints of the form `a ~ b`, but it did
    not extend that reasoning to `a ~~ b` constraints, leading to #16411.
    Easily fixed.
    36546a43