File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -430,7 +430,9 @@ instance Data Text where
430
430
-- @since 1.2.4.0
431
431
instance TH. Lift Text where
432
432
lift = TH. appE (TH. varE 'pack) . TH. stringE . unpack
433
- #if MIN_VERSION_template_haskell(2,16,0)
433
+ #if MIN_VERSION_template_haskell(2,17,0)
434
+ liftTyped = TH. unsafeCodeCoerce . TH. lift
435
+ #elif MIN_VERSION_template_haskell(2,16,0)
434
436
liftTyped = TH. unsafeTExpCoerce . TH. lift
435
437
#endif
436
438
Original file line number Diff line number Diff line change @@ -415,7 +415,9 @@ instance Data Text where
415
415
-- @since 1.2.4.0
416
416
instance TH. Lift Text where
417
417
lift = TH. appE (TH. varE 'pack) . TH. stringE . unpack
418
- #if MIN_VERSION_template_haskell(2,16,0)
418
+ #if MIN_VERSION_template_haskell(2,17,0)
419
+ liftTyped = TH. unsafeCodeCoerce . TH. lift
420
+ #elif MIN_VERSION_template_haskell(2,16,0)
419
421
liftTyped = TH. unsafeTExpCoerce . TH. lift
420
422
#endif
421
423
You can’t perform that action at this time.
0 commit comments