show import errors in the order they appear in the file
commit46d12581153c5fe99abc29a6d11ab9c3ad08b46e
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateThu 11 Jul 2019, 19:28 (7 years ago)
parent5589da4
builder/src/Build.hs+1−1
@@ -444,7 +444,7 @@ checkDepsHelp root results deps new same cached importProblems isBlocked =
444444 RKernel -> checkDepsHelp root results otherDeps new same cached importProblems isBlocked
445445
446446 [] ->
447− case importProblems of
447+ case reverse importProblems of
448448 p:ps ->
449449 return $ DepsNotFound (NE.List p ps)
450450