mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-10-26 19:17:55 +03:00
Enable checking the ‘tls’ package on CI
This commit is contained in:
parent
a3a93ebfef
commit
d4761bf425
@ -0,0 +1,6 @@
|
||||
foo = bar
|
||||
where
|
||||
baz = return (quux) -- Foo
|
||||
|
||||
-- Bar
|
||||
meme = gege
|
6
data/examples/other/comment-following-preceding-gap.hs
Normal file
6
data/examples/other/comment-following-preceding-gap.hs
Normal file
@ -0,0 +1,6 @@
|
||||
foo = bar
|
||||
where
|
||||
baz = return (quux) -- Foo
|
||||
|
||||
-- Bar
|
||||
meme = gege
|
@ -53,6 +53,7 @@ in {
|
||||
"servant"
|
||||
"servant-server"
|
||||
"tensorflow"
|
||||
"tls"
|
||||
"yesod-core"
|
||||
|
||||
# Comment idempotence issue
|
||||
@ -68,7 +69,6 @@ in {
|
||||
# "pandoc"
|
||||
# "pipes"
|
||||
# "stack"
|
||||
# "tls"
|
||||
|
||||
# Missing language extension
|
||||
|
||||
|
@ -218,7 +218,9 @@ spit dirty printingComments txt' = do
|
||||
, scDirtyLine = scDirtyLine sc || dirty
|
||||
, scRequestedDelimiter = RequestedNothing
|
||||
, scLastCommentSpan =
|
||||
if printingComments
|
||||
-- NOTE If there are pending comments, do not reset last comment
|
||||
-- location.
|
||||
if printingComments || (not . null . scPendingComments) sc
|
||||
then scLastCommentSpan sc
|
||||
else Nothing
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user