Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jul 29, 2021
1 parent 6a2a8d4 commit e98b337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/system.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2423,9 +2423,6 @@ when notJSnotNims and hostOS != "standalone":
elif defined(nimscript):
proc getCurrentException*(): ref Exception {.compilerRtl.} = discard

from std/private/digitsutils import addInt
export addInt

when notJSnotNims:
{.push stackTrace: off, profiler: off.}
when (defined(profiler) or defined(memProfiler)):
Expand Down Expand Up @@ -2466,6 +2463,9 @@ when notJSnotNims:
else:
{.error: "Only closure iterator is allowed!".}

from std/private/digitsutils import addInt
export addInt

when defined(js):
include "system/jssys"
include "system/reprjs"
Expand Down

0 comments on commit e98b337

Please sign in to comment.