diff options
Diffstat (limited to 'compiler/semthreads.nim')
-rwxr-xr-x | compiler/semthreads.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semthreads.nim b/compiler/semthreads.nim index 59ff4e652..f542e04d6 100755 --- a/compiler/semthreads.nim +++ b/compiler/semthreads.nim @@ -360,7 +360,7 @@ proc analyse(c: PProcCtx, n: PNode): TThreadOwner = if n.sons[0].kind != nkEmpty: result = analyse(c, n.sons[0]) else: result = toVoid of nkAsmStmt, nkPragma, nkIteratorDef, nkProcDef, nkMethodDef, - nkConverterDef, nkMacroDef, nkTemplateDef: + nkConverterDef, nkMacroDef, nkTemplateDef, nkLambda: result = toVoid of nkExprColonExpr: result = analyse(c, n.sons[1]) |