diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2020-10-01 21:32:52 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-10-02 08:00:25 -0400 |
commit | a9ae83af9e0cf48e860f2b7e1d50a057cb8a7890 (patch) | |
tree | 3aa9de1ffd2ac471b14a0342a5a2e8bbba6f5a90 /compiler/GHC/Builtin | |
parent | 1edd6d21c0abea34b498a627234a97df21648024 (diff) | |
download | haskell-a9ae83af9e0cf48e860f2b7e1d50a057cb8a7890.tar.gz |
Fix typos in comments
[skip ci]
Diffstat (limited to 'compiler/GHC/Builtin')
-rw-r--r-- | compiler/GHC/Builtin/Names.hs | 2 | ||||
-rw-r--r-- | compiler/GHC/Builtin/primops.txt.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Builtin/Names.hs b/compiler/GHC/Builtin/Names.hs index 3628b6f3b4..d73aa58472 100644 --- a/compiler/GHC/Builtin/Names.hs +++ b/compiler/GHC/Builtin/Names.hs @@ -1668,7 +1668,7 @@ datatypeClassKey = mkPreludeClassUnique 39 constructorClassKey = mkPreludeClassUnique 40 selectorClassKey = mkPreludeClassUnique 41 --- KnownNat: see Note [KnowNat & KnownSymbol and EvLit] in GHC.Tc.Types.Evidence +-- KnownNat: see Note [KnownNat & KnownSymbol and EvLit] in GHC.Tc.Types.Evidence knownNatClassNameKey :: Unique knownNatClassNameKey = mkPreludeClassUnique 42 diff --git a/compiler/GHC/Builtin/primops.txt.pp b/compiler/GHC/Builtin/primops.txt.pp index 9cbe75be35..305f692908 100644 --- a/compiler/GHC/Builtin/primops.txt.pp +++ b/compiler/GHC/Builtin/primops.txt.pp @@ -163,7 +163,7 @@ defaults -- -- Unfortunately, for the time being most of the primops which should be -- moved according to the previous paragraph can't yet. There are some --- superficial restrictions in `foreign import prim` which mus be fixed +-- superficial restrictions in `foreign import prim` which must be fixed -- first. Specifically, `foreign import prim` always requires: -- -- - No polymorphism in type |