summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorReiner Pope <reiner.pope@gmail.com>2012-02-16 10:58:07 +1100
committerPaolo Capriotti <p.capriotti@gmail.com>2012-06-19 14:32:54 +0100
commitee44e19f20395596fc34f2bce5763fb16032dbd4 (patch)
treeea113ca352e3b847cb42baaf324f2ae30a8fc0e8 /compiler
parent11ca8cdc3aa72c916f4645d4027974741a0d2c66 (diff)
downloadhaskell-ee44e19f20395596fc34f2bce5763fb16032dbd4.tar.gz
Template Haskell: StringPrimL now takes [Word8]
Diffstat (limited to 'compiler')
-rw-r--r--compiler/hsSyn/Convert.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/hsSyn/Convert.lhs b/compiler/hsSyn/Convert.lhs
index aa141fa0f3..a5839c2406 100644
--- a/compiler/hsSyn/Convert.lhs
+++ b/compiler/hsSyn/Convert.lhs
@@ -719,7 +719,7 @@ cvtLit (CharL c) = do { force c; return $ HsChar c }
cvtLit (StringL s) = do { let { s' = mkFastString s }
; force s'
; return $ HsString s' }
-cvtLit (StringPrimL s) = do { let { s' = mkFastString s }
+cvtLit (StringPrimL s) = do { let { s' = mkFastStringByteList s }
; force s'
; return $ HsStringPrim s' }
cvtLit _ = panic "Convert.cvtLit: Unexpected literal"