[commit: ghc] master: Fix references in let/app invariant note (8b15fc4)

git at git.haskell.org git at git.haskell.org
Tue Jan 10 21:18:02 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8b15fc42847b3ba4a161158995564b1986907776/ghc

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

commit 8b15fc42847b3ba4a161158995564b1986907776
Author: David Feuer <david.feuer at gmail.com>
Date:   Tue Jan 10 15:45:40 2017 -0500

    Fix references in let/app invariant note
    
    `mkCoreApp` and `mkCoreLet` have moved since the let/app invariant
    note was written. Update the note to reflect that change.
    
    [skip ci]
    
    Test Plan: Read
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2953


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

8b15fc42847b3ba4a161158995564b1986907776
 compiler/coreSyn/CoreSyn.hs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler/coreSyn/CoreSyn.hs b/compiler/coreSyn/CoreSyn.hs
index 17b546b..e24ad8d 100644
--- a/compiler/coreSyn/CoreSyn.hs
+++ b/compiler/coreSyn/CoreSyn.hs
@@ -384,7 +384,8 @@ In this situation you should use @case@ rather than a @let at . The function
 alternatively use 'MkCore.mkCoreLet' rather than this constructor directly,
 which will generate a @case@ if necessary
 
-Th let/app invariant is initially enforced by DsUtils.mkCoreLet and mkCoreApp
+The let/app invariant is initially enforced by mkCoreLet and mkCoreApp in
+coreSyn/MkCore.
 
 Note [CoreSyn case invariants]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the ghc-commits mailing list