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/semobjconstr.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/semobjconstr.nim') 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: -- cgit 1.4.1-2-gfad0