From 39290cf88c5047e86dc4894e3190c63d5985f56f Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Fri, 27 Sep 2019 06:02:54 +0100 Subject: Fix spellings (#12277) [backport] --- compiler/transf.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/transf.nim') diff --git a/compiler/transf.nim b/compiler/transf.nim index f1c89939f..7521fe169 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -877,7 +877,7 @@ proc hoistParamsUsedInDefault(c: PTransf, call, letSection, defExpr: PNode): PNo # The recursion may confuse you. It performs two duties: # # 1) extracting all referenced params from default expressions - # into a let section preceeding the call + # into a let section preceding the call # # 2) replacing the "references" within the default expression # with these extracted skLet symbols. @@ -1140,7 +1140,7 @@ proc transformBody*(g: ModuleGraph, prc: PSym, cache = true; let cache = cache or prc.typ.callConv == ccInline if cache: - # genProc for inline procs will be called multiple times from diffrent modules, + # genProc for inline procs will be called multiple times from different modules, # it is important to transform exactly once to get sym ids and locations right prc.transformedBody = result else: -- cgit 1.4.1-2-gfad0