Skip to content
  • Simon Peyton Jones's avatar
    Complete the fix for #13441 (pattern synonyms) · b5c81203
    Simon Peyton Jones authored
    Do not attempt to typecheck both directions of an
    implicitly-bidirectional pattern synonym simultanously,
    as we were before.  Instead, the builder is typechecked
    when we typecheck the code for the builder, which was
    of course happening already, even in both bidirectional
    cases.
    
    See Note [Checking against a pattern signature], under
    "Existential type variables".
    b5c81203