Skip to content

Commit 54cfc44

Browse files
ChrisPennergithub-actions[bot]
authored andcommitted
automatically run ormolu
1 parent 80247f9 commit 54cfc44

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

unison-cli/src/Unison/CommandLine/OutputMessages.hs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -918,19 +918,20 @@ notifyUser dir issueFn = \case
918918
-- defs in the codebase. In some cases it's fine for bindings to
919919
-- shadow codebase names, but you don't want it to capture them in
920920
-- the decompiled output.
921+
921922
let prettyBindings =
922923
P.bracket . P.lines $
923924
P.wrap "The watch expression(s) reference these definitions:"
924925
: ""
925926
: [ P.syntaxToColor $ TermPrinter.prettyBinding ppe (HQ.unsafeFromVar v) b
926-
| (v, b) <- bindings
927+
| (v, b) <- bindings
927928
]
928929
prettyWatches =
929930
P.sep
930931
"\n\n"
931932
[ watchPrinter fileContents ppe ann kind evald isCacheHit
932-
| (ann, kind, evald, isCacheHit) <-
933-
sortOn (\(a, _, _, _) -> a) . toList $ watches
933+
| (ann, kind, evald, isCacheHit) <-
934+
sortOn (\(a, _, _, _) -> a) . toList $ watches
934935
]
935936
in -- todo: use P.nonempty
936937
pure $
@@ -3605,13 +3606,13 @@ listOfDefinitions' fscope ppe detailed results =
36053606
-- where sigs0 = (\(name, _, typ) -> (name, typ)) <$> terms
36063607
termsWithMissingTypes =
36073608
[ (name, Reference.idToShortHash r)
3608-
| SR'.Tm name Nothing (Referent.Ref (Reference.DerivedId r)) _ <- results
3609+
| SR'.Tm name Nothing (Referent.Ref (Reference.DerivedId r)) _ <- results
36093610
]
36103611
missingTypes =
36113612
nubOrdOn snd $
36123613
[(name, r) | SR'.Tp name (MissingObject r) _ _ <- results]
36133614
<> [ (name, Reference.toShortHash r)
3614-
| SR'.Tm name Nothing (Referent.toTypeReference -> Just r) _ <- results
3615+
| SR'.Tm name Nothing (Referent.toTypeReference -> Just r) _ <- results
36153616
]
36163617
missingBuiltins =
36173618
results >>= \case
@@ -3765,7 +3766,7 @@ prettyDiff diff =
37653766
P.column2 $
37663767
(P.hiBlack "Original name", P.hiBlack "New name(s)")
37673768
: [ (prettyName n, P.sep " " (prettyName <$> ns))
3768-
| (n, ns) <- copied
3769+
| (n, ns) <- copied
37693770
]
37703771
]
37713772
else mempty

0 commit comments

Comments
 (0)