Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed May 6, 2021
1 parent 10fc45e commit cc5476b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/pure/base64.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/pure/collections/deques.nim
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ proc expandIfNeeded[T](deq: var Deque[T]) =
var n = newSeq[T](cap * 2)
var i = 0
for x in mitems(deq):
when nimVM: n[i] = x # workaround for VM bug
when nimvm: n[i] = x # workaround for VM bug
else: n[i] = move(x)
inc i
deq.data = move(n)
Expand Down
2 changes: 1 addition & 1 deletion lib/system/platforms.nim
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type
OsPlatform* {.pure.} = enum ## the OS this program will run on.
none, dos, windows, os2, linux, morphos, skyos, solaris,
irix, netbsd, freebsd, openbsd, aix, palmos, qnx, amiga,
atari, netware, macos, macosx, haiku, android, js, nimVM,
atari, netware, macos, macosx, haiku, android, js, nimVM, # xxx rename to avoid confusion with `nimvm`
standalone, nintendoswitch

const
Expand Down

0 comments on commit cc5476b

Please sign in to comment.