Skip to content

Commit 2ef66a7

Browse files
Combine into TH.unsafeCodeCoerce.
1 parent bd80889 commit 2ef66a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Aeson/Types/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ instance TH.Lift Value where
427427
lift (Object o) = [| Object (H.fromList . map (first pack) $ o') |]
428428
where o' = map (first unpack) . H.toList $ o
429429
#if MIN_VERSION_template_haskell(2,17,0)
430-
liftTyped = TH.Code . TH.unsafeTExpCoerce . TH.lift
430+
liftTyped = TH.unsafeCodeCoerce . TH.lift
431431
#elif MIN_VERSION_template_haskell(2,16,0)
432432
liftTyped = TH.unsafeTExpCoerce . TH.lift
433433
#endif

0 commit comments

Comments
 (0)