Skip to content

Commit aa6f35d

Browse files
doliogithub-actions[bot]
authored andcommitted
automatically run ormolu
1 parent 690ca93 commit aa6f35d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

unison-runtime/src/Unison/Runtime/Machine.hs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import Unison.Reference
5353
( Reference,
5454
Reference' (Builtin),
5555
)
56-
import Unison.Referent (Referent, pattern Ref, pattern Con)
56+
import Unison.Referent (Referent, pattern Con, pattern Ref)
5757
import Unison.Runtime.ANF as ANF
5858
( Cacheability (..),
5959
Code (..),
@@ -1429,10 +1429,11 @@ canonicalizeReference isTy r = StateT \st@(RS _ _ canon tys tms) ->
14291429
C.Novel canon ->
14301430
(r,)
14311431
<$> evaluate
1432-
st { _canon = canon,
1433-
_tys = if isTy then r : tys else tys,
1434-
_tms = if isTy then tms else r : tms
1435-
}
1432+
st
1433+
{ _canon = canon,
1434+
_tys = if isTy then r : tys else tys,
1435+
_tms = if isTy then tms else r : tms
1436+
}
14361437

14371438
canonicalizeReferent :: Referent -> Reflect Referent
14381439
canonicalizeReferent (Ref r) = Ref <$> canonicalizeReference False r

0 commit comments

Comments
 (0)