Permalink
Browse files

Conditionally turn off NOINLINE fix (haskell/text#19)

  • Loading branch information...
1 parent 33a630f commit 5b2cc673fb2495771d98a5dfdbee84b485ff9577 @snoyberg snoyberg committed Apr 8, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 persistent-template/Database/Persist/TH.hs
  2. +1 −1 persistent-template/persistent-template.cabal
@@ -621,7 +621,9 @@ instance Lift UniqueDef where
pack' :: String -> Text
pack' = pack
+#if !MIN_VERSION_text(0, 11, 2)
{-# NOINLINE pack' #-}
+#endif
liftT :: Text -> Q Exp
liftT t = [|pack' $(lift (unpack t))|]
@@ -1,5 +1,5 @@
name: persistent-template
-version: 0.9.0
+version: 0.9.0.1
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>

0 comments on commit 5b2cc67

Please sign in to comment.