chore: reintroduce warnings as errors
This commit is contained in:
parent
a7ed5d637b
commit
df28d9de4e
@ -245,8 +245,10 @@ default-extensions:
|
||||
- StandaloneKindSignatures
|
||||
- NoStarIsType
|
||||
ghc-options:
|
||||
- -w
|
||||
- -Wall
|
||||
- -Wmissing-home-modules
|
||||
- -Wredundant-constraints
|
||||
- -Widentities
|
||||
- -Wincomplete-uni-patterns
|
||||
- -fno-warn-type-defaults
|
||||
- -fno-warn-unrecognised-pragmas
|
||||
@ -256,7 +258,8 @@ ghc-options:
|
||||
- -freduction-depth=0
|
||||
when:
|
||||
- condition: flag(pedantic)
|
||||
ghc-options:
|
||||
ghc-options:
|
||||
- -Werror
|
||||
- -fwarn-tabs
|
||||
- condition: flag(dev)
|
||||
then:
|
||||
|
||||
@ -215,7 +215,6 @@ makeCourseTable colChoices psValidator' = do
|
||||
|
||||
getCourseListR :: Handler Html
|
||||
getCourseListR = do
|
||||
let varNotUsed = "just a test to see whether warnings are disabled properly"
|
||||
muid <- maybeAuthId
|
||||
let colonnade = widgetColonnade $ mconcat
|
||||
[ colCourse -- colCourseDescr
|
||||
|
||||
Loading…
Reference in New Issue
Block a user