diff options
author | Gabor Greif <ggreif@gmail.com> | 2018-05-25 15:33:21 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2018-05-29 12:18:55 +0200 |
commit | 25f01db0fa7b20a22136ef770da6361bc3b7a82b (patch) | |
tree | 5bacaea481ceaa95aab0444ed2dd8377dcf83c50 /compiler | |
parent | f8048112c2398ed58fbaff8f1c0faeb052a2534a (diff) | |
download | haskell-25f01db0fa7b20a22136ef770da6361bc3b7a82b.tar.gz |
Typofixes [ci skip]
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/basicTypes/Name.hs | 4 | ||||
-rw-r--r-- | compiler/main/HscMain.hs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/basicTypes/Name.hs b/compiler/basicTypes/Name.hs index 6941dd9c55..c005c03487 100644 --- a/compiler/basicTypes/Name.hs +++ b/compiler/basicTypes/Name.hs @@ -262,7 +262,7 @@ nameIsLocalOrFrom :: Module -> Name -> Bool -- you can find details (type, fixity, instances) in the -- TcGblEnv or TcLclEnv -- --- The isInteractiveModule part is because successive interactions of a GCHi session +-- The isInteractiveModule part is because successive interactions of a GHCi session -- each give rise to a fresh module (Ghci1, Ghci2, etc), but they all come -- from the magic 'interactive' package; and all the details are kept in the -- TcLclEnv, TcGblEnv, NOT in the HPT or EPT. @@ -295,7 +295,7 @@ nameIsHomePackageImport this_mod this_pkg = moduleUnitId this_mod -- | Returns True if the Name comes from some other package: neither this --- pacakge nor the interactive package. +-- package nor the interactive package. nameIsFromExternalPackage :: UnitId -> Name -> Bool nameIsFromExternalPackage this_pkg name | Just mod <- nameModule_maybe name diff --git a/compiler/main/HscMain.hs b/compiler/main/HscMain.hs index 9012025ece..cf1a4fb108 100644 --- a/compiler/main/HscMain.hs +++ b/compiler/main/HscMain.hs @@ -918,7 +918,7 @@ hscCheckSafeImports tcg_env = do -- | Validate that safe imported modules are actually safe. For modules in the -- HomePackage (the package the module we are compiling in resides) this just -- involves checking its trust type is 'Safe' or 'Trustworthy'. For modules --- that reside in another package we also must check that the external pacakge +-- that reside in another package we also must check that the external package -- is trusted. See the Note [Safe Haskell Trust Check] above for more -- information. -- |