Open Mikolaj opened 11 years ago
Actually, it's a bit more tricky than that. We get the recursive dependencies from ghc, but only as part of the TcGblEnv, which we get only for modules that successfully typecheck. So for modules that don't compile, the plugin won't run at all. That's probably not an issue for building, but it might be an issue for other applications of the recursive deps.
Recursive deps (required at least by the license concatenation feature) currently require the whole configGenerateModInfo feature, which enables our custom source plugin with all traversals, passes and gathering of type info. They could be obtained with a much cheaper setting of the source plugin.
This is a low priority optimization.