Skip to content

Commit

Permalink
fix: formatting issue with C guards
Browse files Browse the repository at this point in the history
  • Loading branch information
riz0id committed Feb 15, 2024
1 parent 648acac commit 2e6d2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Network/GRPC/LowLevel/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ forkServer Server{..} f = do
tid <- myThreadId
atomically $ modifyTVar' outstandingForks (S.delete tid)

#ifdef (DEBUG)
#ifdef DEBUG
-- This is intentionally moved outside of the 'do' block so that this file
-- can be auto-formatted by fourmolu. Fourmolu's support for formatting CPP
-- fails inside of 'do' blocks.
Expand Down

0 comments on commit 2e6d2b3

Please sign in to comment.