Use warning suppression only for GHC >= 8.0
commit63c646ac7916054aac5e487f82fd3bbadcce1f03
authorHarendra Kumar <harendra@composewell.com>
dateSat 11 Apr 2020, 02:53 (7 years ago)
parent8921064
src/Streamly/Internal/Data/Parser/Tee.hs+2
@@ -7,7 +7,9 @@
77--
88-- Disabling this has the potential to mask off some legit warnings, therefore
99-- we have segregated code that uses uni-pattern matches in this file.
10+#if __GLASGOW_HASKELL__ >= 800
1011{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
12+#endif
1113
1214#include "inline.hs"
1315