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,6 +111,7 @@ macro genericParamsImpl(T: typedesc): untyped =
|
||||||
var ret: NimNode
|
var ret: NimNode
|
||||||
case ai.typeKind
|
case ai.typeKind
|
||||||
of ntyStatic:
|
of ntyStatic:
|
||||||
|
since (1, 1):
|
||||||
ret = newTree(nnkBracketExpr, @[bindSym"StaticParam", ai])
|
ret = newTree(nnkBracketExpr, @[bindSym"StaticParam", ai])
|
||||||
of ntyTypeDesc:
|
of ntyTypeDesc:
|
||||||
ret = ai
|
ret = ai
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue