mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 08:18:04 +03:00
Merge pull request #1623 from unisonweb/topic/bug1574
Show names from merged namespace after merge
This commit is contained in:
commit
628c30058a
@ -2166,10 +2166,11 @@ mergeBranchAndPropagateDefaultPatch mode inputDescription unchangedMessage srcb
|
||||
mergeBranch mode inputDescription srcb dest0 dest = unsafeTime "Merge Branch" $ do
|
||||
destb <- getAt dest
|
||||
merged <- eval . Eval $ Branch.merge' mode srcb destb
|
||||
b <- updateAtM inputDescription dest (const $ pure merged)
|
||||
for_ dest0 $ \dest0 ->
|
||||
diffHelper (Branch.head destb) (Branch.head merged) >>=
|
||||
respondNumbered . uncurry (ShowDiffAfterMerge dest0 dest)
|
||||
updateAtM inputDescription dest (const $ pure merged)
|
||||
pure b
|
||||
|
||||
loadPropagateDiffDefaultPatch :: (Monad m, Var v) =>
|
||||
InputDescription -> Maybe Path.Path' -> Path.Absolute -> Action' m v ()
|
||||
|
@ -183,10 +183,10 @@ type Foo = Foo Boolean
|
||||
3. └ type Foo#gq9inhvg9h
|
||||
|
||||
|
||||
4. Foo.Foo#d97e0jhkmd#0 : Nat -> Foo
|
||||
4. Foo.Foo#d97e0jhkmd#0 : Nat -> Foo#d97e0jhkmd
|
||||
↓
|
||||
5. ┌ Foo.Foo#d97e0jhkmd#0 : Nat -> Foo
|
||||
6. └ Foo.Foo#gq9inhvg9h#0 : Boolean -> b.Foo
|
||||
5. ┌ Foo.Foo#d97e0jhkmd#0 : Nat -> Foo#d97e0jhkmd
|
||||
6. └ Foo.Foo#gq9inhvg9h#0 : Boolean -> Foo#gq9inhvg9h
|
||||
|
||||
Tip: You can use `todo` to see if this generated any work to
|
||||
do in this namespace and `test` to run the tests. Or you
|
||||
|
Loading…
Reference in New Issue
Block a user