[Git][ghc/ghc][wip/expand-do] Apply 1 suggestion(s) to 1 file(s)
Apoorv Ingle (@ani)
gitlab at gitlab.haskell.org
Mon Nov 6 10:14:49 UTC 2023
Apoorv Ingle pushed to branch wip/expand-do at Glasgow Haskell Compiler / GHC
Commits:
39b4c2c2 by Gergő Érdi at 2023-11-06T10:14:47+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -
1 changed file:
- compiler/GHC/Tc/Gen/Do.hs
Changes:
=====================================
compiler/GHC/Tc/Gen/Do.hs
=====================================
@@ -326,12 +326,12 @@ The {l1} etc are location/source span information stored in the AST by the parse
The 3 non-obvious points to consider are:
1. Wrap the expression with a `fail` block if the pattern match is not irrefutable.
- See Part 1. Below
+ See Part 1. below
2. Generate appropriate warnings for discarded results in a body statement
eg. say `do { .. ; (g p :: m Int) ; ... }`
- See Part 2. Below
+ See Part 2. below
3. Generating appropriate type error messages which blame the correct source spans
- See Part 3 Below
+ See Part 3. below
Part 1. Expanding Patterns Bindings
-----------------------------------
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/39b4c2c2d97f810e330e69c3cdefc36cafe81bee
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/39b4c2c2d97f810e330e69c3cdefc36cafe81bee
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/20231106/d9045552/attachment.html>
More information about the ghc-commits
mailing list