#1585: Um, an error, I don't even understand it.
-------------------------+--------------------------------------------------
    Reporter:  guest     |        Owner:         
        Type:  bug       |       Status:  closed 
    Priority:  normal    |    Milestone:         
   Component:  Compiler  |      Version:  6.6    
    Severity:  normal    |   Resolution:  fixed  
    Keywords:            |   Difficulty:  Unknown
          Os:  Linux     |     Testcase:         
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Changes (by igloo):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 6.6.1 gives a proper error message:
 {{{
 [...]
 [ 7 of 10] Compiling XMonadContrib.Roledex ( XMonadContrib/Roledex.hs,
 dist/buil
 d/xmonad/xmonad-tmp/XMonadContrib/Roledex.o )

 XMonadContrib/Roledex.hs:42:43:
     Couldn't match expected type `Integer' against inferred type `Int'
     In the second argument of `(%)', namely `c'
     In the first argument of `splitHorizontallyBy', namely `(1 % c)'
     In the first argument of `($)', namely
         `splitHorizontallyBy (1 % c)'

 XMonadContrib/Roledex.hs:51:24:
     Couldn't match expected type `Position'
            against inferred type `Dimension'
     In the first argument of `mrect', namely `gw'
     In the expression: mrect gw gh rect
     In the definition of `mainPane': mainPane = mrect gw gh rect

 XMonadContrib/Roledex.hs:55:20:
     Couldn't match expected type `Position'
            against inferred type `Dimension'
     In the first argument of `mrect', namely `(gw * n)'
     In the expression: mrect (gw * n) (gh * n) rect
     In the definition of `f': f n = mrect (gw * n) (gh * n) rect
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1585>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to