Fix passing of state in decodeUtf8Lenient.
commit3b44db75226faf1e026522b10dc706e235ffe48b
authorPranay Sashank <pranaysashank@gmail.com>
dateWed 11 Sep 2019, 17:30 (7 years ago)
parentf5d83bc
src/Streamly/Streams/StreamD.hs+1−1
@@ -3081,7 +3081,7 @@ decodeUtf8With cfm (Stream step state) = Stream step' (FreshPoint 0 0 state)
30813081 Skip $
30823082 transliterateOrError
30833083 "Streamly.Streams.StreamD.decodeUtf8With: Invalid UTF8 codepoint encountered"
3084− (FreshPoint 0 0 st)
3084+ (FreshPoint 0 0 s)
30853085 0 ->
30863086 Skip $
30873087 YieldAndContinue