diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-01-09 23:51:37 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-10 08:51:37 +0100 |
commit | 4cd86c08427205d2e26510a07a3c6980c14e1608 (patch) | |
tree | efab63d6385cfe3f9368f390ececb06793eb30b9 /lib/system | |
parent | fcd2f305ad5ad2af37284caf7b33907afb8ad834 (diff) | |
download | Nim-4cd86c08427205d2e26510a07a3c6980c14e1608.tar.gz |
typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get (#13064)
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/inclrtl.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/inclrtl.nim b/lib/system/inclrtl.nim index 6bff819e6..33b8545c4 100644 --- a/lib/system/inclrtl.nim +++ b/lib/system/inclrtl.nim @@ -50,5 +50,7 @@ else: {.pragma: benign, gcsafe.} template since(version, body: untyped) {.dirty.} = + ## limitation: can't be used to annotate a template (eg typetraits.get), would + ## error: cannot attach a custom pragma. when version <= (NimMajor, NimMinor): body |