Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,969
    • Issues 4,969
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 473
    • Merge requests 473
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #9723
Closed
Open
Created Oct 25, 2014 by Joachim Breitner@nomeataDeveloper

Give Tab warning only once per file

Currently, when compiling a tabbed file, GHC spits out a huge number of warnings:

Main.hs:1:1: Warning: Tab character

[..]

Main.hs:89:1: Warning: Tab character

Main.hs:90:1: Warning: Tab character

Main.hs:91:1: Warning: Tab character

Main.hs:92:1: Warning: Tab character

Main.hs:99:4: Warning: Tab character

Main.hs:100:4: Warning: Tab character

Main.hs:101:4: Warning: Tab character

This is annoying and not very nice to our users.

I suggest to replace it by

This file contains tabs (e.g. line n column m); please use spaces instead

or (to be nice to tools that parse this output)

Main.hs:1:1: Tab found here, and in n further locations. Please use spaces instead.

(This is clearly a low priority request, but also possibly some low-hanging fruit for new contributors.)

Trac metadata
Trac field Value
Version 7.9
Type FeatureRequest
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking