File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/ImmutableDB/Chunks Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ data ChunkAssertionFailure =
250250
251251instance Exception ChunkAssertionFailure
252252
253+ {- FOURMOLU_DISABLE -}
253254assertSameChunk :: HasCallStack => ChunkNo -> ChunkNo -> a -> a
254255#if ENABLE_ASSERTIONS
255256assertSameChunk a b
@@ -260,7 +261,9 @@ assertSameChunk _ _ = id
260261#endif
261262 where
262263 _ = keepRedundantConstraint (Proxy @ HasCallStack )
264+ {- FOURMOLU_ENABLE -}
263265
266+ {- FOURMOLU_DISABLE -}
264267assertWithinBounds :: HasCallStack => Word64 -> ChunkSize -> a -> a
265268#if ENABLE_ASSERTIONS
266269assertWithinBounds ix sz
@@ -271,7 +274,9 @@ assertWithinBounds _ _ = id
271274#endif
272275 where
273276 _ = keepRedundantConstraint (Proxy @ HasCallStack )
277+ {- FOURMOLU_ENABLE -}
274278
279+ {- FOURMOLU_DISABLE -}
275280assertChunkCanContainEBB :: HasCallStack => ChunkNo -> ChunkSize -> a -> a
276281#if ENABLE_ASSERTIONS
277282assertChunkCanContainEBB chunk size
@@ -282,3 +287,4 @@ assertChunkCanContainEBB _ _ = id
282287#endif
283288 where
284289 _ = keepRedundantConstraint (Proxy @ HasCallStack )
290+ {- FOURMOLU_ENABLE -}
You can’t perform that action at this time.
0 commit comments