diff options
author | metagn <metagngn@gmail.com> | 2022-10-01 14:30:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 13:30:23 +0200 |
commit | cfff454cf9852be9df2020c3a2d192caaa2f418a (patch) | |
tree | fa22a0b1a8cb255b2ac239c6f417d5487e11a0c6 /compiler/condsyms.nim | |
parent | 24b81e9df6d871bd036d5e38efe631489999a4b7 (diff) | |
download | Nim-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.nim | 1 |
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") |