[commit: ghc] master: Remove TODO in HsExpr (6e7aa5e)

git at git.haskell.org git at git.haskell.org
Sun Jan 20 17:25:33 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/6e7aa5e937b18a45ee39c8c67b7a2f7350b89a66/ghc

>---------------------------------------------------------------

commit 6e7aa5e937b18a45ee39c8c67b7a2f7350b89a66
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Fri Jan 18 11:36:12 2019 -0500

    Remove TODO in HsExpr
    
    It is correct to be `GhcTc` as the data type is for expressions which are inside splices
    so they can be delayed until desugaring.


>---------------------------------------------------------------

6e7aa5e937b18a45ee39c8c67b7a2f7350b89a66
 compiler/hsSyn/HsExpr.hs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler/hsSyn/HsExpr.hs b/compiler/hsSyn/HsExpr.hs
index 41bbdb2..bae29b0 100644
--- a/compiler/hsSyn/HsExpr.hs
+++ b/compiler/hsSyn/HsExpr.hs
@@ -2486,7 +2486,6 @@ data UntypedSpliceFlavour
 
 -- | Pending Type-checker Splice
 data PendingTcSplice
-  -- AZ:TODO: The hard-coded GhcTc feels wrong.
   = PendingTcSplice SplicePointName (LHsExpr GhcTc)
 
 {-



More information about the ghc-commits mailing list