Open ghc-mirror opened 10 years ago
Original reporter: bob@
The attached patch should resolve this issue by making the imports from Cairo explicit. I decided not to use hiding as this is more robust against future clashes of this kind.
Original reporter: MikolajKonarski
Bob Ippolito: thank you for your patch. I've applied it to my github mirror of TS code at https://github.com/Mikolaj/ThreadScope. Not sure when it finds its way to hackage, but I hope it does at some point.
Original reporter: bob@
Is it possible for you to upload a new version to Hackage? According to Hackage, you uploaded the last one: http://hackage.haskell.org/package/threadscope
Original reporter: sebas.chinoir@
Compiling version 0.2.2 from hackage with Cairo version 12.5.0 (current versions) gives a lot of "ambiguous occurences" errors for the variables
height
,width
andRegion
on files GUI/Timeline/{Render,Timeline,SaveAs}.hs, for example:GUI/Timeline/Render.hs:258:34: Ambiguous occurrence
height' It could refer to either
GUI.Types.height', imported fromGUI.Types' at GUI/Timeline/Render.hs:19:1-16 or
Graphics.Rendering.Cairo.height', imported fromGraphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31 (and originally defined in
Graphics.Rendering.Cairo.Types')Hiding this variables from the Graphics.Rendering.Cairo package seems to solve the problem.
System: Arch Linux, x86-64