Re: Newbish building question

2008-11-13 Thread Simon Marlow
J. Garrett Morris wrote: Hello, I've been attempting to add some minor instrumentation to my pet copy of GHC 6.10.1. In particular, I'd like to add some code to extendInstEnv in compiler/types/InstEnv.lhs. First, I tried importing Debug.Trace into the InstEnv module, and changing the extendIns

Re: Newbish building question

2008-11-13 Thread Thomas Schilling
2008/11/13 J. Garrett Morris <[EMAIL PROTECTED]>: > (addToUFM_C add inst_env > cls_nm (ClsIE [ins_item] ins_tyvar)) Did you try make distclean and building again? This often fixes things, it could also be that extendInstEnv was inlined somewhere, though that should not lead to the error, either.

Newbish building question

2008-11-12 Thread J. Garrett Morris
Hello, I've been attempting to add some minor instrumentation to my pet copy of GHC 6.10.1. In particular, I'd like to add some code to extendInstEnv in compiler/types/InstEnv.lhs. First, I tried importing Debug.Trace into the InstEnv module, and changing the extendInstEnv function to trace "foo