diff options
Diffstat (limited to 'lib/system/inclrtl.nim')
-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 |