diff options
author | Araq <rumpf_a@web.de> | 2019-06-03 12:00:28 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-06-03 12:00:28 +0200 |
commit | 7c5e7a4f6a31b6bb92d9f0a243e96b8030c9944c (patch) | |
tree | 8dc38304105e083483c76983225bd2bfd9b39a3a /compiler | |
parent | 7d217a71d3679b58f74bb134add20d9b80750341 (diff) | |
download | Nim-7c5e7a4f6a31b6bb92d9f0a243e96b8030c9944c.tar.gz |
disable the new CaseTransition warning for the Nim compiler itself
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/nim.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/nim.cfg b/compiler/nim.cfg index 5a30efd6f..841b72a94 100644 --- a/compiler/nim.cfg +++ b/compiler/nim.cfg @@ -16,3 +16,7 @@ define:nimOldCaseObjects #define:useNodeIds #gc:markAndSweep + +@if nimHasWarningCaseTransition: +warning[CaseTransition]:off +@end |