From 49869a2b10d73dac719690f3796a0584be38c0bb Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Thu, 3 Sep 2015 19:20:23 +0300 Subject: when nimvm stmt proof of concept --- compiler/semparallel.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/semparallel.nim') diff --git a/compiler/semparallel.nim b/compiler/semparallel.nim index fbcd6b6da..36c63d038 100644 --- a/compiler/semparallel.nim +++ b/compiler/semparallel.nim @@ -363,7 +363,7 @@ proc analyse(c: var AnalysisCtx; n: PNode) = else: internalError(it.info, "slot already has a lower bound") if not isSpawned: analyse(c, value) of nkCaseStmt: analyseCase(c, n) - of nkIfStmt, nkIfExpr: analyseIf(c, n) + of nkWhen, nkIfStmt, nkIfExpr: analyseIf(c, n) of nkWhileStmt: analyse(c, n.sons[0]) # 'while true' loop? -- cgit 1.4.1-2-gfad0