[Git][ghc/ghc][wip/int-index/decl-invis-binders] Update comment
Vladislav Zavialov (@int-index)
gitlab at gitlab.haskell.org
Thu Jan 26 18:04:07 UTC 2023
Vladislav Zavialov pushed to branch wip/int-index/decl-invis-binders at Glasgow Haskell Compiler / GHC
Commits:
8c2f384f by Vladislav Zavialov at 2023-01-26T20:53:15+03:00
Update comment
- - - - -
1 changed file:
- compiler/GHC/Rename/HsType.hs
Changes:
=====================================
compiler/GHC/Rename/HsType.hs
=====================================
@@ -1252,9 +1252,9 @@ rnLHsTyVarBndrVisFlag (L loc bndr) = do
addErr (TcRnIllegalInvisTyVarBndr lbndr)
return lbndr
--- No-op. This could be a 'coerce' in an ideal world, but GHC can't crack this
--- nut because type families are involved: HsBndrInvisible stores (LHsToken "@" pass),
--- which is defined via XRec.
+-- rnHsBndrVis is a no-op. We could use 'coerce' in an ideal world, but GHC
+-- can't crack this nut because type families are involved:
+-- HsBndrInvisible stores (LHsToken "@" pass), which is defined via XRec.
rnHsBndrVis :: HsBndrVis GhcPs -> HsBndrVis GhcRn
rnHsBndrVis HsBndrRequired = HsBndrRequired
rnHsBndrVis (HsBndrInvisible at) = HsBndrInvisible at
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8c2f384f90196098a3b017872813061ed01e773b
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8c2f384f90196098a3b017872813061ed01e773b
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230126/c8a07b16/attachment.html>
More information about the ghc-commits
mailing list