File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ import Unison.Codebase.Path (Path)
6262import Unison.Codebase.Path qualified as Path
6363import Unison.Codebase.SqliteCodebase.Conversions qualified as Cv
6464import Unison.DataDeclaration (Decl )
65- import Unison.DeclCoherencyCheck (checkDeclCoherency , lenientCheckDeclCoherency )
65+ import Unison.DeclCoherencyCheck (asOneRandomIncoherentDeclReason , checkAllDeclCoherency , lenientCheckDeclCoherency )
6666import Unison.LabeledDependency (LabeledDependency )
6767import Unison.Merge qualified as Merge
6868import Unison.Merge.EitherWay qualified as EitherWay
@@ -262,8 +262,8 @@ computeThreeWayNamespaceDiff codebaseEnvs2 aliceCodeCache bobCodeCache branchHas
262262 PG. transactionSpan " check decl coherency" mempty do
263263 sequence $
264264 ( \ v c e ->
265- checkDeclCoherency v. nametree c
266- & mapLeft (IncoherentDecl . e)
265+ checkAllDeclCoherency v. nametree c
266+ & mapLeft (IncoherentDecl . e . asOneRandomIncoherentDeclReason )
267267 & liftEither
268268 )
269269 <$> ThreeWay. forgetLca defns
You can’t perform that action at this time.
0 commit comments