[commit: ghc] master: fix a typo in comments: normaliseFfiType (73c7ea7)

git at git.haskell.org git at git.haskell.org
Sat Oct 25 00:27:07 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/73c7ea7e00f31993990ad2d57b86b6b7a5424a4a/ghc

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

commit 73c7ea7e00f31993990ad2d57b86b6b7a5424a4a
Author: Yuras Shumovich <shumovichy at gmail.com>
Date:   Fri Oct 24 19:26:55 2014 -0500

    fix a typo in comments: normaliseFfiType
    
    Summary:
    The function is defined in TcForeign module, but misspelled comment
    makes it hard to find
    
    Reviewers: austin
    
    Reviewed By: austin
    
    Subscribers: thomie, carter, ezyang, simonmar
    
    Differential Revision: https://phabricator.haskell.org/D368


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

73c7ea7e00f31993990ad2d57b86b6b7a5424a4a
 compiler/typecheck/TcType.lhs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcType.lhs b/compiler/typecheck/TcType.lhs
index 6c14b4b..ffd3e07 100644
--- a/compiler/typecheck/TcType.lhs
+++ b/compiler/typecheck/TcType.lhs
@@ -1442,7 +1442,7 @@ isFFIExportResultTy ty = checkRepTyCon legalFEResultTyCon ty empty
 isFFIDynTy :: Type -> Type -> Validity
 -- The type in a foreign import dynamic must be Ptr, FunPtr, or a newtype of
 -- either, and the wrapped function type must be equal to the given type.
--- We assume that all types have been run through normalizeFfiType, so we don't
+-- We assume that all types have been run through normaliseFfiType, so we don't
 -- need to worry about expanding newtypes here.
 isFFIDynTy expected ty
     -- Note [Foreign import dynamic]



More information about the ghc-commits mailing list