You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- If the haskell-debugger-view is in the dependency graph, it must have
@@ -617,7 +624,7 @@ findHsDebuggerViewUnitId mod_graph = do
617
624
case hskl_dbgr_vws of
618
625
[hdv_uid] ->do
619
626
-- In transitive closure, use that one.
620
-
-- Check that the version is exactly 0.2.0.0
627
+
-- Check that the version is in supported range.
621
628
case lookupUnit unitState (RealUnit (Definite hdv_uid)) of
622
629
Just unitInfo ->do
623
630
let version = unitPackageVersion unitInfo
@@ -628,8 +635,8 @@ findHsDebuggerViewUnitId mod_graph = do
628
635
error"Could not find unit info for haskell-debugger-view"
629
636
[]->do
630
637
returnNothing
631
-
_ ->
632
-
error"Multiple unit-ids found for haskell-debugger-view in the transitive closure?!"
638
+
_ ->do
639
+
error$"Multiple unit-ids found for haskell-debugger-view in the transitive closure?!"++ showSDocUnsafe (withPprStyle (PprDump alwaysQualify) (ppr hskl_dbgr_vws))
0 commit comments