summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-02-07 04:27:28 -0800
committerGitHub <noreply@github.com>2020-02-07 13:27:28 +0100
commitc0a2e2ed92610933983d1edb57d1ad0204189f61 (patch)
treec9d03980c9a64d9c6dfaedb16e033731af7df7ec /compiler
parentabd660c407d00d0c4f2129ff11bfc69badda8ece (diff)
downloadNim-c0a2e2ed92610933983d1edb57d1ad0204189f61.tar.gz
replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple in dollars.nim (#13347)
* replace old problematic isNamedTuple implementation by TypeTrait isNamedTuple

* fix for bootstrap
Diffstat (limited to 'compiler')
-rw-r--r--compiler/condsyms.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/condsyms.nim b/compiler/condsyms.nim
index 9a762d585..344f6fd5a 100644
--- a/compiler/condsyms.nim
+++ b/compiler/condsyms.nim
@@ -103,6 +103,7 @@ proc initDefines*(symbols: StringTableRef) =
   defineSymbol("nimNewShiftOps")
   defineSymbol("nimHasCursor")
   defineSymbol("nimHasExceptionsQuery")
+  defineSymbol("nimHasIsNamedTuple")
 
   when defined(nimHasLibFFI):
     # Renaming as we can't conflate input vs output define flags; e.g. this