summaryrefslogtreecommitdiff
path: root/compiler/typecheck/TcSplice.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/typecheck/TcSplice.hs')
-rw-r--r--compiler/typecheck/TcSplice.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/typecheck/TcSplice.hs b/compiler/typecheck/TcSplice.hs
index 051c87da44..b23314adb0 100644
--- a/compiler/typecheck/TcSplice.hs
+++ b/compiler/typecheck/TcSplice.hs
@@ -492,7 +492,7 @@ When a variable is used, we compare
For example:
f = ...
g1 = $(map ...) is OK
- g2 = $(f ...) is not OK; because we havn't compiled f yet
+ g2 = $(f ...) is not OK; because we haven't compiled f yet
Note [Typechecking Overloaded Quotes]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -924,7 +924,7 @@ runMeta' show_code ppr_hs run_and_convert expr
-- including, say, a pattern-match exception in the code we are running
--
-- We also do the TH -> HS syntax conversion inside the same
- -- exception-cacthing thing so that if there are any lurking
+ -- exception-catching thing so that if there are any lurking
-- exceptions in the data structure returned by hval, we'll
-- encounter them inside the try
--
@@ -1033,7 +1033,7 @@ like that. Here's how it's processed:
* 'qReport' forces the message to ensure any exception hidden in unevaluated
thunk doesn't get into the bag of errors. Otherwise the following splice
- will triger panic (#8987):
+ will trigger panic (#8987):
$(fail undefined)
See also Note [Concealed TH exceptions]