This patch implements a part of GHC Proposal #229 that covers five operators: * the bang operator (!) * the tilde operator (~) * the at operator (@) * the dollar operator ($) * the double dollar operator ($$) Based on surrounding whitespace, these operators are disambiguated into bang patterns, lazy patterns, strictness annotations, type applications, splices, and typed splices. This patch doesn't cover the (-) operator or the -Woperator-whitespace warning, which are left as future work.
parent
5a08f7d4
No related branches found
No related tags found
Pipeline #13264 failed
Stage: lint
Stage: quick-build
Stage: build
Stage: full-build
Stage: cleanup
Stage: packaging
Stage: testing
Stage: deploy
Showing
- compiler/GHC/Hs/Expr.hs 9 additions, 14 deletionscompiler/GHC/Hs/Expr.hs
- compiler/main/DynFlags.hs 2 additions, 1 deletioncompiler/main/DynFlags.hs
- compiler/parser/ApiAnnotation.hs 2 additions, 2 deletionscompiler/parser/ApiAnnotation.hs
- compiler/parser/Lexer.x 187 additions, 66 deletionscompiler/parser/Lexer.x
- compiler/parser/Parser.y 68 additions, 85 deletionscompiler/parser/Parser.y
- compiler/parser/RdrHsSyn.hs 67 additions, 180 deletionscompiler/parser/RdrHsSyn.hs
- compiler/prelude/TysWiredIn.hs 21 additions, 0 deletionscompiler/prelude/TysWiredIn.hs
- compiler/rename/RnEnv.hs 7 additions, 1 deletioncompiler/rename/RnEnv.hs
- compiler/rename/RnSplice.hs 1 addition, 1 deletioncompiler/rename/RnSplice.hs
- docs/users_guide/bugs.rst 39 additions, 0 deletionsdocs/users_guide/bugs.rst
- docs/users_guide/glasgow_exts.rst 21 additions, 13 deletionsdocs/users_guide/glasgow_exts.rst
- docs/users_guide/using-warnings.rst 0 additions, 7 deletionsdocs/users_guide/using-warnings.rst
- nofib 1 addition, 1 deletionnofib
- testsuite/tests/ghc-api/annotations/T10268.stdout 1 addition, 1 deletiontestsuite/tests/ghc-api/annotations/T10268.stdout
- testsuite/tests/ghc-api/annotations/T10276.stdout 6 additions, 4 deletionstestsuite/tests/ghc-api/annotations/T10276.stdout
- testsuite/tests/ghc-api/annotations/T10358.stdout 2 additions, 2 deletionstestsuite/tests/ghc-api/annotations/T10358.stdout
- testsuite/tests/ghc-api/annotations/T10399.stdout 4 additions, 3 deletionstestsuite/tests/ghc-api/annotations/T10399.stdout
- testsuite/tests/module/mod69.stderr 2 additions, 2 deletionstestsuite/tests/module/mod69.stderr
- testsuite/tests/module/mod70.stderr 3 additions, 1 deletiontestsuite/tests/module/mod70.stderr
- testsuite/tests/overloadedrecflds/should_fail/T11103.stderr 4 additions, 4 deletionstestsuite/tests/overloadedrecflds/should_fail/T11103.stderr
Loading
-
mentioned in issue #17162 (closed)
-
mentioned in issue #1087 (closed)
-
mentioned in merge request !3436 (merged)
-
mentioned in issue #23748
-
mentioned in commit 427382d4
-
mentioned in merge request !10995 (closed)
-
mentioned in commit 94c49e1e
-
mentioned in commit f165c43c
-
mentioned in commit 0878ac5f
-
mentioned in commit 95ec848c
-
mentioned in commit 151759cb
-
mentioned in commit 353e174c
-
mentioned in commit 5dac96d1
-
mentioned in commit b11fcfd3
-
mentioned in commit f79f0b2b
-
mentioned in commit 46fd8ced
-
mentioned in commit 7d95c980
-
mentioned in commit bc5d816a
-
mentioned in commit 2c18ff79
Please register or sign in to comment