summary refs log tree commit diff stats
path: root/compiler/semtempl.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/semtempl.nim')
-rw-r--r--compiler/semtempl.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/semtempl.nim b/compiler/semtempl.nim
index 8c39a7676..0b1be5abf 100644
--- a/compiler/semtempl.nim
+++ b/compiler/semtempl.nim
@@ -639,8 +639,7 @@ proc semTemplateDef(c: PContext, n: PNode): PNode =
     for i in 1 .. s.typ.n.len-1:
       let param = s.typ.n.sons[i].sym
       param.flags.incl sfTemplateParam
-      if optNimV019 in c.config.globalOptions:
-        param.flags.excl sfGenSym
+      param.flags.excl sfGenSym
       if param.typ.kind != tyUntyped: allUntyped = false
     if len(gp) > 0:
       if n.sons[genericParamsPos].kind == nkEmpty: