[Git][ghc/ghc][wip/aidylns/ttg-remove-hsunboundvar-via-hshole] Add missing closing parenthesis in Note

Adriaan Leijnse (@aidylns) gitlab at gitlab.haskell.org
Tue Jul 2 09:58:35 UTC 2024



Adriaan Leijnse pushed to branch wip/aidylns/ttg-remove-hsunboundvar-via-hshole at Glasgow Haskell Compiler / GHC


Commits:
fc6000cc by Adriaan Leijnse at 2024-07-02T11:57:57+02:00
Add missing closing parenthesis in Note

- - - - -


1 changed file:

- compiler/GHC/Rename/Expr.hs


Changes:

=====================================
compiler/GHC/Rename/Expr.hs
=====================================
@@ -822,7 +822,7 @@ See #18151.
 Note [Reporting unbound names]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Faced with an out-of-scope `RdrName` there are two courses of action
-A. Report an error immediately (and return a HsUnboundVarRn. This will halt GHC after the renamer is complete
+A. Report an error immediately (and return a HsUnboundVarRn). This will halt GHC after the renamer is complete
 B. Return a HsUnboundVarRn without reporting an error.  That will allow the typechecker to run, which in turn
    can give a better error message, notably giving the type of the variable via the "typed holes" mechanism.
 



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fc6000cc6068e0a453b278032e15a721cec70d78
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/20240702/745b6a4b/attachment.html>


More information about the ghc-commits mailing list