• Arnaud Spiwack's avatar
    Pattern guards BindStmt always use multiplicity Many · 2707c4ea
    Arnaud Spiwack authored
    Fixes #18439 .
    The rhs of the pattern guard was consumed with multiplicity one, while
    the pattern assumed it was Many. We use Many everywhere instead.
    This is behaviour consistent with that of `case` expression. See #18738.
LinearPatternGuardWildcard.hs 141 Bytes