Skip to content

Commit

Permalink
undo NimPatch bump for now
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Apr 26, 2020
1 parent 59fd148 commit c1a9357
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/system.nim
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ const
## is the minor number of Nim's version.
# Odd for devel, even for releases.

NimPatch* {.intdefine.}: int = 3
NimPatch* {.intdefine.}: int = 1
## is the patch number of Nim's version.
# For devel, increment by 2 as needed to keep it odd or change docgen logic
# from `NimPatch mod 2 == 1` to `NimMinor mod 2 == 1`.

proc compileOption*(option: string): bool {.
magic: "CompileOption", noSideEffect.}
Expand Down
2 changes: 1 addition & 1 deletion lib/system/dollars.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ proc `$`*(x: int): string {.magic: "IntToStr", noSideEffect.}
## spelling `toString`:idx:.

when defined(js):
when (NimMajor, NimMinor, NimPatch) >= (1, 3, 3):
when (NimMajor, NimMinor) >= (1, 3):
proc `$`*(x: uint): string =
## Caveat: currently implemented as $(cast[int](x)), tied to current
## semantics of js' Number type.
Expand Down

0 comments on commit c1a9357

Please sign in to comment.