[GHC] #14008: NondecreasingIndentation is problematic when the indentation can't be decreased

GHC ghc-devs at haskell.org
Sat Jul 22 14:05:35 UTC 2017


#14008: NondecreasingIndentation is problematic when the indentation can't be
decreased
-------------------------------------+-------------------------------------
        Reporter:  allbery_b         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 > I suspect `NondecreasingIndentation` should not be applied when it is
 impossible to decrease the indentation.

 This sounds reasonable to me. Would you like to offer a patch?

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


More information about the ghc-tickets mailing list