-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that -Werror converts parser warnings into errors (#11511)
closes #11399 changelog_begin changelog_end
- Loading branch information
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Copyright (c) 2021, Digital Asset (Switzerland) GmbH and/or its affiliates. | ||
-- All rights reserved. | ||
|
||
{-# OPTIONS_GHC -Werror=missing-space-after-bang #-} | ||
|
||
-- @ERROR range=11:3-11:5; perhaps you want to add a space after the bang for clarity | ||
|
||
module ParserWerror where | ||
|
||
(!) : a -> a -> () | ||
_ !_ = () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Copyright (c) 2021, Digital Asset (Switzerland) GmbH and/or its affiliates. | ||
-- All rights reserved. | ||
|
||
{-# OPTIONS_GHC -Wno-error=missing-space-after-bang #-} | ||
|
||
-- @WARN range=11:3-11:5; perhaps you want to add a space after the bang for clarity | ||
|
||
module ParserWno_error where | ||
|
||
(!) : a -> a -> () | ||
_ !_ = () |