id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2632	Template Haskell confused by operator fixity	simonpj	igloo	"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\THTest>ghc --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!)"	merge	closed	normal	6.10.1	Compiler	6.9	fixed		jcab.lists@…	Unknown/Multiple	Unknown/Multiple		Unknown	th/T2632			
