* fix #17941: UnusedImport works for var/let/const/type invoked inside a generic * fixup
This commit is contained in:
parent
e224865b3b
commit
38b41f893a
4 changed files with 6 additions and 4 deletions
|
|
@ -132,7 +132,7 @@ template encodeInternal(s, alphabet: typed): untyped =
|
|||
result.setLen(outputIndex)
|
||||
|
||||
template encodeImpl() {.dirty.} =
|
||||
when nimVM:
|
||||
when nimvm:
|
||||
block:
|
||||
let lookupTableVM = if safe: cb64safeVM else: cb64VM
|
||||
encodeInternal(s, lookupTableVM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue