Skip to content
Snippets Groups Projects
Commit 07c779a6 authored by Vladislav Zavialov's avatar Vladislav Zavialov
Browse files

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.
parent 75746594
No related branches found
No related tags found
1 merge request!9033Fix -Woperator-whitespace for consym (part of #19372), 2nd attempt
Pipeline #56853 passed with warnings
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment