Files
ghc-mod/Language/Haskell/GhcMod
Naohiro Aota 46492a19b0 Expose packages in sandbox with their ids
This commit implement scaning a package db directory to collect package
id

If you installed a package both in a sandbox and globally, global
package may be selected even if there's a package in a sandbox, which is
different behavior from cabal sandbox.

e.g. when you have fast-logger-2.0 globally and fast-logger-0.3.3 in a
sandbox:

(Without patch)
$ ghc-mod check Foundation.hs
Foundation.hs:12:31:Module `System.Log.FastLogger' does not export `Logger'

(With patch)
$ ghc-mod check Foundation.hs
2014-01-30 21:21:40 +09:00
..
2013-11-19 10:30:43 +09:00
2014-01-30 20:45:30 +09:00
2014-01-30 20:45:30 +09:00
2013-11-19 12:28:59 +09:00
2013-07-01 13:21:49 +09:00
2014-01-30 20:45:30 +09:00
2013-10-02 12:43:40 +09:00
2013-09-16 09:56:08 +09:00
2014-01-08 12:03:32 +09:00
2013-09-20 17:25:28 +09:00
2013-05-20 14:28:56 +09:00
2013-09-03 14:40:51 +09:00
2014-01-30 20:45:30 +09:00