Revert "Fix for new bytearray ffi type"
This reverts commit 2caf7436209942e92c47c210c99c37d3c75745f6.
commit1ce21adaaf19ab64a2a1613edb786af8802d6734
authorLuigy Leon <luigy@outlook.com>
dateTue 21 Aug 2018, 00:40 (8 years ago)
parent9c54f59
Data/Text/Internal.hs+1−1
@@ -52,7 +52,7 @@ foreign import javascript unsafe
5252 js_decodeBytes :: ByteArray# -> JSString
5353
5454foreign import javascript unsafe
55− "h$textToString($1_1,$2,$3)"
55+ "h$textToString($1,$2,$3)"
5656 js_textToString :: ByteArray# -> Int# -> Int# -> JSString
5757
5858-- | Construct a 'Text' without invisibly pinning its byte array in
Data/Text/Internal/Builder.hs+1−1
@@ -371,5 +371,5 @@ foreign import javascript unsafe
371371 js_fromString :: JSString -> (# ByteArray#, Int# #)
372372
373373foreign import javascript unsafe
374− "h$textToString($1_1,$2,$3)"
374+ "h$textToString($1,$2,$3)"
375375 js_toString :: ByteArray# -> Int# -> Int# -> JSString