diff options
author | Zahary Karadjov <zahary@gmail.com> | 2013-12-25 00:01:12 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2013-12-25 00:32:53 +0200 |
commit | 952dbc4b8fd41bdf0f6b587147f62d8d15a95751 (patch) | |
tree | c61dd86b2d1719c2d869dce4508fb7990abd125c /compiler | |
parent | 027f30610e44633b661befcca1b5dd39e9eaa283 (diff) | |
download | Nim-952dbc4b8fd41bdf0f6b587147f62d8d15a95751.tar.gz |
documented static params
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semtypes.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/semtypes.nim b/compiler/semtypes.nim index d4d953757..85928ee75 100644 --- a/compiler/semtypes.nim +++ b/compiler/semtypes.nim @@ -684,6 +684,8 @@ proc liftParamType(c: PContext, procKind: TSymKind, genericParams: PNode, result.sons.setLen(result.sons.len - 1) of tyTypeClass: result = addImplicitGeneric(copyType(paramType, getCurrOwner(), false)) + of tyExpr: + result = addImplicitGeneric(newTypeS(tyGenericParam, c)) else: nil # result = liftingWalk(paramType) |