[GHC] #9723: Give Tab warning only once per file

GHC ghc-devs at haskell.org
Fri Mar 27 13:10:56 UTC 2015


#9723: Give Tab warning only once per file
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                   Owner:  dalaing
            Type:  feature request   |                  Status:  patch
        Priority:  low               |               Milestone:
       Component:  Compiler          |                 Version:  7.9
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:  Phab:D760
-------------------------------------+-------------------------------------

Comment (by hvr):

 I'm a bit dubious about this change. While I understand the intent it
 seems to the first warning which is not emitted at all occurrences. So
 tooling can't highlight all offending lines at once, and would need to be
 made aware that this warning actually affects more lines.

 So maybe the compromise would be to have a flag to enable warning *all*
 tab-polluted lines, but have it default to warn only about the first
 occurence

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9723#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list