hotfix: make --useVersion:1.0 work
This commit is contained in:
parent
ab5d962b50
commit
9e2bce2a8c
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,8 @@ macro genericParamsImpl(T: typedesc): untyped =
|
|||
var ret: NimNode
|
||||
case ai.typeKind
|
||||
of ntyStatic:
|
||||
ret = newTree(nnkBracketExpr, @[bindSym"StaticParam", ai])
|
||||
since (1, 1):
|
||||
ret = newTree(nnkBracketExpr, @[bindSym"StaticParam", ai])
|
||||
of ntyTypeDesc:
|
||||
ret = ai
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue