summary refs log tree commit diff stats
path: root/compiler/semobjconstr.nim
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2019-09-27 06:02:54 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-09-27 07:02:54 +0200
commit39290cf88c5047e86dc4894e3190c63d5985f56f (patch)
treef37c9e0a5491fb9b11266ce08bddc297b57f37fc /compiler/semobjconstr.nim
parent9dd297f613768bb170e05dcaf361015d9448c582 (diff)
downloadNim-39290cf88c5047e86dc4894e3190c63d5985f56f.tar.gz
Fix spellings (#12277) [backport]
Diffstat (limited to 'compiler/semobjconstr.nim')
-rw-r--r--compiler/semobjconstr.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semobjconstr.nim b/compiler/semobjconstr.nim
index 9f342e3b9..b71198fd8 100644
--- a/compiler/semobjconstr.nim
+++ b/compiler/semobjconstr.nim
@@ -339,7 +339,7 @@ proc semConstructFields(c: PContext, recNode: PNode,
         result = initPartial
         if discriminatorVal.kind == nkIntLit:
           # When the discriminator is a compile-time value, we also know
-          # which brach will be selected:
+          # which branch will be selected:
           let matchedBranch = recNode.pickCaseBranch discriminatorVal
           if matchedBranch != nil: checkMissingFields matchedBranch
         else: