Well, your issue is really simple - you forgot to bind rightSize in the
template :) Don't forget that templates are simple code substitution, with this
template it works:
template rightSize(cap): untyped {.dirty.} =
when (NimMajor,NimMinor)<(1,4):
bind rightSize
tables.rightSize(cap)
else:
cap
Run
- How to avoid deprecation notice for libraies supporting multi... leorize
- How to avoid deprecation notice for libraies supporting ... Araq
- How to avoid deprecation notice for libraies support... leorize
- How to avoid deprecation notice for libraies sup... cblake
- How to avoid deprecation notice for libraies... cblake
- How to avoid deprecation notice for libraies... shirleyquirk
- How to avoid deprecation notice for libraies... jackhftang
- How to avoid deprecation notice for libraies... jackhftang
- How to avoid deprecation notice for libraies... shirleyquirk
- How to avoid deprecation notice for libraies... jackhftang
- How to avoid deprecation notice for libraies... Yardanico
- How to avoid deprecation notice for libraies... jackhftang
- How to avoid deprecation notice for libraies... shirleyquirk
- How to avoid deprecation notice for libraies... jackhftang
