diff options
author | Federico Ceratto <federico.ceratto@gmail.com> | 2019-09-27 06:02:54 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-09-27 07:02:54 +0200 |
commit | 39290cf88c5047e86dc4894e3190c63d5985f56f (patch) | |
tree | f37c9e0a5491fb9b11266ce08bddc297b57f37fc /compiler/semobjconstr.nim | |
parent | 9dd297f613768bb170e05dcaf361015d9448c582 (diff) | |
download | Nim-39290cf88c5047e86dc4894e3190c63d5985f56f.tar.gz |
Fix spellings (#12277) [backport]
Diffstat (limited to 'compiler/semobjconstr.nim')
-rw-r--r-- | compiler/semobjconstr.nim | 2 |
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: |