[GHC] #9230: Make -fwarn-tabs the default

GHC ghc-devs at haskell.org
Sat Sep 27 09:34:29 UTC 2014


#9230: Make -fwarn-tabs the default
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |            Owner:  mlen
                  Type:  feature     |           Status:  new
  request                            |        Milestone:  7.10.1
              Priority:  normal      |          Version:  7.8.2
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Easy (less than 1
  Unknown/Multiple                   |  hour)
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by mlen):

 During HacBerlin I discussed about the issue with Andres and he suggested
 an alternative approach: instead of detabbing or suppressing the warnings
 per file, a global suppression flag should be added.

 It turned out to be very simple to implement. The change can be found
 here: https://github.com/mlen/ghc/compare/warn-tabs

 I also continued the detabbing and the patch got very big
 (https://github.com/mlen/ghc/compare/detabbed), so there may cause trouble
 when merging. It still doesn't cover all tests (some of them are not run
 on my machine) and doesn't contain patches for submodules.


 Is there any reason why the code from https://github.com/mlen/ghc/compare
 /warn-tabs branch shouldn't be used instead?

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


More information about the ghc-tickets mailing list