diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2022-09-18 15:49:50 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-09-20 03:50:42 -0400 |
commit | 59fe128c37b2befb1ece4bf3f8f5c9082bd213eb (patch) | |
tree | 98a239beac6d9ce896d72ab087215f014230cf28 /ghc | |
parent | 545ff490144ed3ddd596d2a0c01b0a16b5528f63 (diff) | |
download | haskell-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