From a9ae83af9e0cf48e860f2b7e1d50a057cb8a7890 Mon Sep 17 00:00:00 2001 From: Krzysztof Gogolewski Date: Thu, 1 Oct 2020 21:32:52 +0200 Subject: Fix typos in comments [skip ci] --- compiler/GHC/Builtin/Names.hs | 2 +- compiler/GHC/Builtin/primops.txt.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/GHC/Builtin') 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 -- cgit v1.2.1