[GHC] #1412: Typo in type error for lazy patterns

GHC trac at galois.com
Tue Jun 5 02:45:23 EDT 2007


#1412: Typo in type error for lazy patterns
--------------------------------------+-------------------------------------
  Reporter:  stefan at cs.uu.nl          |          Owner:          
      Type:  bug                      |         Status:  new     
  Priority:  low                      |      Milestone:          
 Component:  Compiler (Type checker)  |        Version:  6.7     
  Severity:  normal                   |       Keywords:  typo    
Difficulty:  Easy (1 hr)              |             Os:  Multiple
  Testcase:                           |   Architecture:  Multiple
--------------------------------------+-------------------------------------
There's a small typo in one of the type-error messages for lazy patterns.
 I've attached a patch that fixes it.

 [Corrected typo in compiler/typecheck/TcPat.lhs:
 stefan at cs.uu.nl**20070601054931
  * connot  ===>  cannot
 ] {
 hunk ./compiler/typecheck/TcPat.lhs 958
 -    hang (ptext SLIT("A lazy (~) pattern connot bind existential type
 variables
 "))
 +    hang (ptext SLIT("A lazy (~) pattern cannot bind existential type
 variables
 "))
 }

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1412>
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