diff options
Diffstat (limited to 'compiler')
-rwxr-xr-x | compiler/semtypes.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semtypes.nim b/compiler/semtypes.nim index 3aafd2492..701ccc691 100755 --- a/compiler/semtypes.nim +++ b/compiler/semtypes.nim @@ -817,7 +817,7 @@ proc semTypeNode(c: PContext, n: PNode, prev: PType): PType = s.typ = result if n.sons[1].kind == nkEmpty or n.sons[1].len == 0: if result.callConv == ccDefault: - #result.callConv = ccClosure + result.callConv = ccClosure Message(n.info, warnImplicitClosure, renderTree(n)) else: pragma(c, s, n.sons[1], procTypePragmas) |