[GHC] #8542: Suggest NegativeLiterals

GHC ghc-devs at haskell.org
Fri Nov 22 14:57:06 UTC 2013


#8542: Suggest NegativeLiterals
-------------------------------------+------------------------------------
        Reporter:  monoidal          |            Owner:
            Type:  bug               |           Status:  patch
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by thoughtpolice):

 I'm very much in favor of frontend-warnings that don't depend on
 peculiarities of the machine, if possible. The Report specifies an Int at
 minimum has the range `[-2^29 .. 2^29-1]`, so I think your suggestion is
 reasonable.

 Does anyone else have opinions?

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


More information about the ghc-tickets mailing list