From 951157a4e9937eea895a95df0bd46c03b330f7c2 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Fri, 15 Jun 2018 12:54:59 +0300 Subject: Fixed proto options --- compiler/semstmts.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler') diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index dc42f9a21..292238dc9 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -1559,6 +1559,7 @@ proc semProcAux(c: PContext, n: PNode, kind: TSymKind, addParams(c, proto.typ.n, proto.kind) proto.info = s.info # more accurate line information s.typ = proto.typ + proto.options = s.options s = proto n.sons[genericParamsPos] = proto.ast.sons[genericParamsPos] n.sons[paramsPos] = proto.ast.sons[paramsPos] -- cgit 1.4.1-2-gfad0