summaryrefslogtreecommitdiff
path: root/testsuite/tests/package/package05.hs
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2022-04-08 13:16:42 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-09 13:04:50 -0400
commit20eca489df8c3dae80a584dede8fea40728bde3b (patch)
tree80f3d786b40ea06fe058ae3420a821b8f06dcb05 /testsuite/tests/package/package05.hs
parent5f8d6e65f3d8268c70d6a8434ba9df03087a22eb (diff)
downloadhaskell-20eca489df8c3dae80a584dede8fea40728bde3b.tar.gz
Refactor: simplify lexing of the dot
Before this patch, the lexer did a truly roundabout thing with the dot: 1. look up the varsym in reservedSymsFM and turn it into ITdot 2. under OverloadedRecordDot, turn it into ITvarsym 3. in varsym_(prefix|suffix|...) turn it into ITvarsym, ITdot, or ITproj, depending on extensions and whitespace Turns out, the last step is sufficient to handle the dot correctly. This patch removes the first two steps.
Diffstat (limited to 'testsuite/tests/package/package05.hs')
0 files changed, 0 insertions, 0 deletions