Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/Parser/PostProcess.hs
    ... ... @@ -2778,7 +2778,7 @@ the appropriate component of the product, discarding the rest:
    2778 2778
         checkPatOf3 (_, _, p) = p  -- interpret as a pattern
    
    2779 2779
     
    
    2780 2780
     We can easily define ambiguities between arbitrary subsets of interpretations.
    
    2781
    -For example, when we know ahead of type that only an expression or a command is
    
    2781
    +For example, when we know ahead of time that only an expression or a command is
    
    2782 2782
     possible, but not a pattern, we can use a smaller type:
    
    2783 2783
     
    
    2784 2784
         type ExpCmd = (PV (LHsExpr GhcPs), PV (LHsCmd GhcPs))