[Git][ghc/ghc][wip/ghc-18740-lookup-update] Apply suggestion to compiler/GHC/Rename/Env.hs

Danya Rogozin gitlab at gitlab.haskell.org
Fri Oct 9 15:49:54 UTC 2020



Danya Rogozin pushed to branch wip/ghc-18740-lookup-update at Glasgow Haskell Compiler / GHC


Commits:
a80d2c5d by Danya Rogozin at 2020-10-09T11:49:51-04:00
Apply suggestion to compiler/GHC/Rename/Env.hs
- - - - -


1 changed file:

- compiler/GHC/Rename/Env.hs


Changes:

=====================================
compiler/GHC/Rename/Env.hs
=====================================
@@ -1005,7 +1005,7 @@ lookup_demoted rdr_name
            , text "instead of"
            , quotes (ppr name) <> dot ]
 
--- If the given RdrName can be promoted to the type level and is in scope,
+-- If the given RdrName can be promoted to the type level and its promoted variant is in scope,
 -- lookup_promoted returns the corresponding type-level Name.
 -- Otherwise, the function returns Nothing.
 -- See Note [Promotion] below.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a80d2c5dfb235c71e88df40a85f608e9f1fb2147

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a80d2c5dfb235c71e88df40a85f608e9f1fb2147
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/20201009/6dd5e76e/attachment.html>


More information about the ghc-commits mailing list