chore: reintroduce warnings as errors
This commit is contained in:
parent
a7ed5d637b
commit
df28d9de4e
@ -245,8 +245,10 @@ default-extensions:
|
|||||||
- StandaloneKindSignatures
|
- StandaloneKindSignatures
|
||||||
- NoStarIsType
|
- NoStarIsType
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -w
|
- -Wall
|
||||||
- -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
|
||||||
@ -256,7 +258,8 @@ ghc-options:
|
|||||||
- -freduction-depth=0
|
- -freduction-depth=0
|
||||||
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:
|
||||||
|
|||||||
@ -215,7 +215,6 @@ makeCourseTable colChoices psValidator' = do
|
|||||||
|
|
||||||
getCourseListR :: Handler Html
|
getCourseListR :: Handler Html
|
||||||
getCourseListR = do
|
getCourseListR = do
|
||||||
let varNotUsed = "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