Commit ee44e19f authored by reinerp's avatar reinerp Committed by pcapriotti

Template Haskell: StringPrimL now takes [Word8]

parent 11ca8cdc
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment