Skip to content

Commit b8e88e6

Browse files
authored
fix ambiguous occurrence show (#1905)
* fix ambiguous occurrence * bump version * update changelog
1 parent 9c445b6 commit b8e88e6

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

yesod-core/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog for yesod-core
22

3+
## 1.6.29.1
4+
5+
* Fix compilation error for text >= 2.1.2 [#1905](https://github.com/yesodweb/yesod/pull/1905)
6+
37
## 1.6.29.0
48

59
* When showing HandlerContent, include a content snippet [#1864](https://github.com/yesodweb/yesod/pull/1864)

yesod-core/src/Yesod/Core/Types/HandlerContents.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Yesod.Core.Types.HandlerContents
55

66
import Control.Exception (Exception)
77
import Data.Maybe
8-
import Data.Text
8+
import qualified Data.Text as T
99
import qualified Data.Text.Lazy as TL
1010
import qualified Network.HTTP.Types as H
1111
import qualified Network.Wai as W
@@ -16,8 +16,8 @@ data HandlerContents =
1616
HCContent !H.Status !TypedContent
1717
| HCError !ErrorResponse
1818
| HCSendFile !ContentType !FilePath !(Maybe W.FilePart)
19-
| HCRedirect !H.Status !Text
20-
| HCCreated !Text
19+
| HCRedirect !H.Status !T.Text
20+
| HCCreated !T.Text
2121
| HCWai !W.Response
2222
| HCWaiApp !W.Application
2323

yesod-core/yesod-core.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: yesod-core
2-
version: 1.6.29.0
2+
version: 1.6.29.1
33
license: MIT
44
license-file: LICENSE
55
author: Michael Snoyman <michael@snoyman.com>

0 commit comments

Comments
 (0)