Skip to content

Commit 891a077

Browse files
committed
Ignore 'unticked promoted constructors' in TypeErrors
The file is small enough that using unticked constructors should not be error-prone
1 parent 8f081bd commit 891a077

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

servant/src/Servant/API/TypeErrors.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
{-# LANGUAGE TypeOperators #-}
55
{-# LANGUAGE UndecidableInstances #-}
66

7+
{-# OPTIONS_GHC -fno-warn-unticked-promoted-constructors #-}
8+
79
-- | This module defines the error messages used in type-level errors.
810
-- Type-level errors can signal non-existing instances, for instance when
911
-- a combinator is not applied to the correct number of arguments.

0 commit comments

Comments
 (0)