Sasha Bogicevic pushed to branch wip/21101 at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/Types/Hint/Ppr.hs
    ... ... @@ -350,7 +350,7 @@ instance Outputable GhcHint where
    350 350
              <+> text "which matches" <+> quotes (ppr con) <+> text "regardless of its fields"
    
    351 351
         SuggestExplicitConstructorArguments con nbArgs
    
    352 352
           -> text "Apply" <+> quotes (ppr con) <+> text "to its"
    
    353
    -         <+> speakNOf nbArgs (text "argument") <+> text "instead"
    
    353
    +         <+> speakNOf nbArgs (text "argument")
    
    354 354
     
    
    355 355
     perhapsAsPat :: SDoc
    
    356 356
     perhapsAsPat = text "Perhaps you meant an as-pattern, which must not be surrounded by whitespace"