diff options
author | Yuras Shumovich <shumovichy@gmail.com> | 2014-10-24 19:26:55 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-10-24 19:26:55 -0500 |
commit | 73c7ea7e00f31993990ad2d57b86b6b7a5424a4a (patch) | |
tree | c4acad6bf0ae1607923634dc149407acf7ace770 | |
parent | 1addef805ceacb13d346eb14190e1c9b88d02d2d (diff) | |
download | haskell-73c7ea7e00f31993990ad2d57b86b6b7a5424a4a.tar.gz |
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
-rw-r--r-- | compiler/typecheck/TcType.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/typecheck/TcType.lhs b/compiler/typecheck/TcType.lhs index 6c14b4b7bc..ffd3e070bb 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] |