[GHC] #9177: Suggest Int when user uses int

GHC ghc-devs at haskell.org
Fri Jun 6 08:26:48 UTC 2014


#9177: Suggest Int when user uses int
------------------------------------+-------------------------------------
       Reporter:  nomeata           |             Owner:
           Type:  feature request   |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.8.2
       Keywords:                    |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:  #1388             |
------------------------------------+-------------------------------------
 This ticket is a fork of #1388. We already give suggestions when the user
 mispells names, based on edit distance. But this does not cross the
 boundaries between different kind of names.

 It would be helpful if {{{Not in scope: type variable `int'}}} would also
 say {{{Did you mean the type constructor `Int'}}}?

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


More information about the ghc-tickets mailing list