chore(ghc): disable almost all warnings, even under flag pedantic
This commit is contained in:
parent
d72f92ff97
commit
213899eef5
@ -245,10 +245,8 @@ default-extensions:
|
|||||||
- StandaloneKindSignatures
|
- StandaloneKindSignatures
|
||||||
- NoStarIsType
|
- NoStarIsType
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -Wall
|
- -w
|
||||||
- -Wmissing-home-modules
|
- -Wmissing-home-modules
|
||||||
- -Wredundant-constraints
|
|
||||||
- -Widentities
|
|
||||||
- -Wincomplete-uni-patterns
|
- -Wincomplete-uni-patterns
|
||||||
- -fno-warn-type-defaults
|
- -fno-warn-type-defaults
|
||||||
- -fno-warn-unrecognised-pragmas
|
- -fno-warn-unrecognised-pragmas
|
||||||
@ -259,7 +257,6 @@ ghc-options:
|
|||||||
when:
|
when:
|
||||||
- condition: flag(pedantic)
|
- condition: flag(pedantic)
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -Werror
|
|
||||||
- -fwarn-tabs
|
- -fwarn-tabs
|
||||||
- condition: flag(dev)
|
- condition: flag(dev)
|
||||||
then:
|
then:
|
||||||
|
|||||||
@ -294,6 +294,7 @@ makeCourseTable colChoices psValidator' = do
|
|||||||
|
|
||||||
getCourseListR :: Handler Html
|
getCourseListR :: Handler Html
|
||||||
getCourseListR = do
|
getCourseListR = do
|
||||||
|
varNotUsed <- return "just a test to see whether warnings are disabled properly"
|
||||||
muid <- maybeAuthId
|
muid <- maybeAuthId
|
||||||
let colonnade = widgetColonnade $ mconcat
|
let colonnade = widgetColonnade $ mconcat
|
||||||
[ colCourse -- colCourseDescr
|
[ colCourse -- colCourseDescr
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user