summary refs log tree commit diff stats
path: root/compiler/condsyms.nim
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2022-10-01 14:30:23 +0300
committerGitHub <noreply@github.com>2022-10-01 13:30:23 +0200
commitcfff454cf9852be9df2020c3a2d192caaa2f418a (patch)
treefa22a0b1a8cb255b2ac239c6f417d5487e11a0c6 /compiler/condsyms.nim
parent24b81e9df6d871bd036d5e38efe631489999a4b7 (diff)
downloadNim-cfff454cf9852be9df2020c3a2d192caaa2f418a.tar.gz
closed ambiguous enum defaults to first overload (#20457)
* closed ambiguous enum defaults to first overload

* add warning

* turn to hint

* work around config
Diffstat (limited to 'compiler/condsyms.nim')
-rw-r--r--compiler/condsyms.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/condsyms.nim b/compiler/condsyms.nim
index 332a802ab..10f4b86ab 100644
--- a/compiler/condsyms.nim
+++ b/compiler/condsyms.nim
@@ -143,3 +143,4 @@ proc initDefines*(symbols: StringTableRef) =
   defineSymbol("nimHasTopDownInference")
   defineSymbol("nimHasTemplateRedefinitionPragma")
   defineSymbol("nimHasCstringCase")
+  defineSymbol("nimHasAmbiguousEnumHint")