Vladislav Zavialov pushed to branch wip/int-index/enforce-namespaces at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/Tc/Errors/Ppr.hs
    ... ... @@ -5912,7 +5912,7 @@ pprImportLookup = \case
    5912 5912
           BadImportNonTypeSubordinates gre nontype1 ->
    
    5913 5913
             withContext
    
    5914 5914
               [ what <+> text "called" <+> parent_name <+> text "is exported,"
    
    5915
    -          , sep [ text "but its subordinate" <+> "item" <> plural nontype <+> nontype_names
    
    5915
    +          , sep [ text "but its subordinate item" <> plural nontype <+> nontype_names
    
    5916 5916
                     , isOrAre nontype <+> "not in the type namespace." ] ]
    
    5917 5917
               where
    
    5918 5918
                 nontype = NE.toList nontype1