Skip to content

Commit 5aea98f

Browse files
committed
Ignore warnings in deprecated modules
1 parent de02c85 commit 5aea98f

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

core/src/Streamly/Internal/Data/Array/Stream.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{-# OPTIONS_GHC -Wno-deprecations #-}
2+
{-# OPTIONS_GHC -Wno-incomplete-patterns #-}
23
-- |
34
-- Module : Streamly.Internal.Data.Array.Stream
45
-- Copyright : (c) 2019 Composewell Technologies

core/src/Streamly/Internal/Data/Fold/Chunked.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_GHC -Wno-incomplete-patterns #-}
2+
13
-- |
24
-- Module : Streamly.Internal.Data.Fold.Chunked
35
-- Copyright : (c) 2021 Composewell Technologies
@@ -150,7 +152,7 @@ fromParserD (ParserD.Parser step1 initial1 extract1) =
150152

151153
step s (Array contents start end) = do
152154
if start >= end
153-
then return $ Continue 0 s
155+
then return $ Continue 1 s
154156
else goArray SPEC start s
155157

156158
where

0 commit comments

Comments
 (0)