Closed Gurkenglas closed 8 years ago
-fwarn-tabs exists, but it isn't in -Wall. ¯(ツ)/¯
GHC 7.10 already complains about tabs by default:
main = print 0
$ ghc tab.hs
[1 of 1] Compiling Main ( tab.hs, tab.o )
tab.hs:1:13: Warning: Tab character
Linking tab ...
@Gurkenglas: can this issue be closed, or have I missed something?
From gbaz's comment, I thought it's not default. Perhaps some flashing signs are in order. With a button on ghc's output to enhance vision on the probable-to-be-a-problem warnings and perhaps illustrate the problems with some examples... should we make an issue out of that? Nah...
People keep having indentation errors on #haskell because they accidentally some tabs into their code. Make ghc complain about this, or find another way to stop this problem.