Re: [GHC] #2632: Template Haskell confused by operator fixity

2008-10-04 Thread GHC
#2632: Template Haskell confused by operator fixity
--+-
 Reporter:  simonpj   |  Owner:  igloo   
 Type:  merge | Status:  closed  
 Priority:  normal|  Milestone:  6.10.1  
Component:  Compiler  |Version:  6.9 
 Severity:  normal| Resolution:  fixed   
 Keywords:| Difficulty:  Unknown 
 Testcase:  th/T2632  |   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Changes (by igloo):

  * status:  new = closed
  * resolution:  = fixed

Comment:

 Merged

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2632#comment:5
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2632: Template Haskell confused by operator fixity

2008-10-03 Thread GHC
#2632: Template Haskell confused by operator fixity
--+-
 Reporter:  simonpj   |  Owner:  igloo   
 Type:  merge | Status:  new 
 Priority:  normal|  Milestone:  6.10.1  
Component:  Compiler  |Version:  6.9 
 Severity:  normal| Resolution:  
 Keywords:| Difficulty:  Unknown 
 Testcase:  th/T2632  |   Architecture:  Unknown/Multiple
   Os:  Unknown/Multiple  |  
--+-
Changes (by simonpj):

  * testcase:  = th/T2632
  * owner:  simonpj = igloo
  * type:  bug = merge

Comment:

 Excellent point.  This turned out to be a very dark corner, so good to
 find.  Thanks.
 {{{
 Fri Oct  3 15:04:23 BST 2008  [EMAIL PROTECTED]
   * Expunge ThFake, cure Trac #2632
 }}}
 Simon

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2632#comment:4
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #2632: Template Haskell confused by operator fixity

2008-09-29 Thread GHC
#2632: Template Haskell confused by operator fixity
-+--
Reporter:  simonpj   |   Owner:  simonpj
Type:  bug   |  Status:  new
Priority:  normal|   Milestone:  6.10.1 
   Component:  Compiler  | Version:  6.8.3  
Severity:  normal|Keywords: 
  Difficulty:  Unknown   |Testcase: 
Architecture:  Unknown   |  Os:  Unknown
-+--
 Reported by JCAB
 {{{
 {-# LANGUAGE TemplateHaskell #-}
 module MkData where

 import Language.Haskell.TH
 import Language.Haskell.TH.Syntax

 op a b = a + b

 decl = [d| func = 0 `op` 3 |]
 }}}
 Works with 6.8.3, but with the 6.10 beta, it dies with the strange message
 {{{
 C:\Users\JCAB\Haskell\THTestghc --make main.hs
 [1 of 2] Compiling MkData   ( MkData.hs, MkData.o )
 attempting to use module `main:MkData' (.\MkData.hs) which is not loaded
 }}}
 When looking up `op`, GHC doesn't find the fixity correctly.  (SLPJ
 comment: having looked at the code in `RnEnv.lookupFixity` I can't see how
 6.8.3 works!)

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2632
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2632: Template Haskell confused by operator fixity

2008-09-29 Thread GHC
#2632: Template Haskell confused by operator fixity
--+-
 Reporter:  simonpj   |  Owner:  simonpj
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.10.1 
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by simonpj):

  * version:  6.8.3 = 6.9

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/2632#comment:1
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs