
#15599: typeclass inference depends on whether a module is exposed. -------------------------------------+------------------------------------- Reporter: gleachkr | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.2.3 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Linux | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by gleachkr): Thanks for the quick reply. I've updated the repro repo with test-ghci.sh, which uses only ghci, but which demonstrates similar behavior. I did need to load the pkgdbs that stack generated. I've included those in the repo, in case they might help. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15599#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler