since now takes an optional patch, eg: since: (1, 3, 1) (#14124)
add tests for tinclrtl
This commit is contained in:
parent
d23446c6ba
commit
9384f7ad35
3 changed files with 51 additions and 3 deletions
|
|
@ -2055,7 +2055,11 @@ export dollars
|
|||
|
||||
const
|
||||
NimMajor* {.intdefine.}: int = 1
|
||||
## is the major number of Nim's version.
|
||||
## is the major number of Nim's version. Example:
|
||||
##
|
||||
## .. code-block:: Nim
|
||||
## when (NimMajor, NimMinor, NimPatch) >= (1, 3, 1): discard
|
||||
# See also private symbol `since: (1, 3)` reserved for stdlib
|
||||
|
||||
NimMinor* {.intdefine.}: int = 3
|
||||
## is the minor number of Nim's version.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue