From 5018f6fa15f60ddf26bc7ca347a38c29899aa3b3 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 19 Apr 2017 15:20:46 +0200 Subject: [PATCH 1/2] fixes #5729 --- compiler/sempass2.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/sempass2.nim b/compiler/sempass2.nim index ce74749662..96bdc6cba2 100644 --- a/compiler/sempass2.nim +++ b/compiler/sempass2.nim @@ -517,7 +517,7 @@ proc propagateEffects(tracked: PEffects, n: PNode, s: PSym) = proc procVarcheck(n: PNode) = if n.kind in nkSymChoices: for x in n: procVarCheck(x) - elif n.kind == nkSym and n.sym.magic != mNone: + elif n.kind == nkSym and n.sym.magic != mNone and n.sym.kind in routineKinds: localError(n.info, errXCannotBePassedToProcVar, n.sym.name.s) proc notNilCheck(tracked: PEffects, n: PNode, paramType: PType) = From 20f92616d24a4d9ca8c75cd196acb79924e219cb Mon Sep 17 00:00:00 2001 From: Konstantin Molchanov Date: Thu, 20 Apr 2017 11:06:59 +0400 Subject: [PATCH 2/2] Add meta tag to ensure that media queries are activated on mobile devices. --- config/nimdoc.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg index fdc3d2ba01..3e656cb8f3 100644 --- a/config/nimdoc.cfg +++ b/config/nimdoc.cfg @@ -129,6 +129,8 @@ doc.file = """ + +