summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2022-09-18 15:49:50 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-09-20 03:50:42 -0400
commit59fe128c37b2befb1ece4bf3f8f5c9082bd213eb (patch)
tree98a239beac6d9ce896d72ab087215f014230cf28 /ghc
parent545ff490144ed3ddd596d2a0c01b0a16b5528f63 (diff)
downloadhaskell-59fe128c37b2befb1ece4bf3f8f5c9082bd213eb.tar.gz
Fix -Woperator-whitespace for consym (part of #19372)
Due to an oversight, the initial specification and implementation of -Woperator-whitespace focused on varsym exclusively and completely ignored consym. This meant that expressions such as "x+ y" would produce a warning, while "x:+ y" would not. The specification was corrected in ghc-proposals pull request #404, and this patch updates the implementation accordingly. Regression test included.
Diffstat (limited to 'ghc')
0 files changed, 0 insertions, 0 deletions