Make Unicode brackets opening/closing tokens (#18225)
The tokens `[|`, `|]`, `(|`, and `|)` are opening/closing tokens as described in GHC Proposal #229. This commit makes the unicode variants (`⟦`, `⟧`, `⦇`, and `⦈`) act the same as their ASCII counterparts.
parent
b420fb24
Pipeline #19769 failed
Stage: lint
Stage: quick-build
Stage: build
Stage: full-build
Stage: cleanup
Stage: packaging
Stage: testing
Stage: deploy
Showing
- compiler/GHC/Parser/Lexer.x 8 additions, 4 deletionscompiler/GHC/Parser/Lexer.x
- testsuite/tests/parser/unicode/T18225A.hs 13 additions, 0 deletionstestsuite/tests/parser/unicode/T18225A.hs
- testsuite/tests/parser/unicode/T18225B.hs 11 additions, 0 deletionstestsuite/tests/parser/unicode/T18225B.hs
- testsuite/tests/parser/unicode/T18225B.stderr 1 addition, 0 deletionstestsuite/tests/parser/unicode/T18225B.stderr
- testsuite/tests/parser/unicode/all.T 2 additions, 0 deletionstestsuite/tests/parser/unicode/all.T
Loading
-
mentioned in merge request !3339 (closed)
-
mentioned in issue #18227 (closed)
-
mentioned in issue #18296 (closed)
Please register or sign in to comment