Simon Jakobi pushed to branch wip/sjakobi/multi-caret at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/Tc/Errors/Types.hs
    ... ... @@ -4131,12 +4131,7 @@ data TcRnMessage where
    4131 4131
       TcRnBindingNameConflict :: !RdrName -- ^ The conflicting name
    
    4132 4132
                               -> !(NE.NonEmpty SrcSpan)
    
    4133 4133
                                  -- ^ The locations of the duplicates, in ascending
    
    4134
    -                             -- source order. The last one is the primary span
    
    4135
    -                             -- of the message; 'diagnosticRelatedLocations'
    
    4136
    -                             -- returns the earlier ones, omitting any that
    
    4137
    -                             -- coincide with the primary span. See
    
    4138
    -                             -- Note [Choosing the primary and related spans]
    
    4139
    -                             -- in GHC.Types.Error.
    
    4134
    +                             -- source order.
    
    4140 4135
                               -> TcRnMessage
    
    4141 4136
     
    
    4142 4137
       {-| TcRnNonCanonicalDefinition is a warning indicating that an instance