Skip to content

Commit 304b101

Browse files
committed
Core module cannot be checked with stylish-haskell
This is because stylish-parser cannot parse the export list which starts with ```hs module Network.TypedProtocol.Core ( -- * Introduction -- $intro -- * Defining protocols -- $defining Protocol (..) ``` But this is required by haddock, to include the next section.
1 parent 69dc057 commit 304b101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-stylish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export LC_ALL=C.UTF-8
55

66
[[ -x '/usr/bin/fd' ]] && FD="fd" || FD="fdfind"
77

8-
$FD . './typed-protocols' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
8+
$FD . './typed-protocols' -e hs -E Setup.hs -E Core.hs -X stylish-haskell -c .stylish-haskell.yaml -i
99
$FD . './typed-protocols-cborg' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
1010
$FD . './typed-protocols-examples' -e hs -E Setup.hs -E Channel.hs -X stylish-haskell -c .stylish-haskell.yaml -i

0 commit comments

Comments
 (0)