Commit 6b3fdd2
committed
Include package dbs of source loaded dependencies in unit files
Package dbs are one of the few things that need to be transitively
included in a unit file. Fix the following case: There are two units A
and B, and A depends on B. B depends on an external dependency C. In
this case the unit file for A needs to include the package db for C. HLS
and GHC will not pick up the package db indirectly through B's unit
file. Fix this by passing a set of package-db-only HaskellReplDepInfo
when merging.1 parent c3dc0cf commit 6b3fdd2
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
| |||
409 | 412 | | |
410 | 413 | | |
411 | 414 | | |
412 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
413 | 421 | | |
414 | 422 | | |
415 | 423 | | |
| |||
0 commit comments