[GHC] #1332: overloaded strings cause core lint failure

GHC trac at galois.com
Sat May 5 12:17:46 EDT 2007


#1332: overloaded strings cause core lint failure
--------------------------------------+-------------------------------------
  Reporter:  igloo                    |          Owner:         
      Type:  bug                      |         Status:  new    
  Priority:  normal                   |      Milestone:  6.8    
 Component:  Compiler (Type checker)  |        Version:  6.7    
  Severity:  normal                   |       Keywords:         
Difficulty:  Unknown                  |             Os:  Unknown
  Testcase:  tc224                    |   Architecture:  Unknown
--------------------------------------+-------------------------------------
The overloaded strings extension isn't getting past core lint in the HEAD,
 e.g. test tc224:
 {{{
 *** Core Lint Errors: in result of Desugar ***
 <no location info>:
     In the expression: T.greet1 (GHC.Base.unpackCString# "hello")
     Argument value doesn't match argument type:
     Fun type: T.MyString -> T.MyString
     Arg type: [GHC.Base.Char]
     Arg: GHC.Base.unpackCString# "hello"
 *** Offending Program ***
 [...]
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1332>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list