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

Stefan Holdermans stefan at cs.uu.nl
Tue Jun 5 02:46:31 EDT 2007


My apologies for the duplicated ticket; I ran into a database lock...

On Jun 5, 2007, at 8:45 AM, GHC wrote:

> #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_______________________________________________
> Glasgow-haskell-bugs mailing list
> Glasgow-haskell-bugs at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

_______________________________________________
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