summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-06-03 12:00:28 +0200
committerAraq <rumpf_a@web.de>2019-06-03 12:00:28 +0200
commit7c5e7a4f6a31b6bb92d9f0a243e96b8030c9944c (patch)
tree8dc38304105e083483c76983225bd2bfd9b39a3a /compiler
parent7d217a71d3679b58f74bb134add20d9b80750341 (diff)
downloadNim-7c5e7a4f6a31b6bb92d9f0a243e96b8030c9944c.tar.gz
disable the new CaseTransition warning for the Nim compiler itself
Diffstat (limited to 'compiler')
-rw-r--r--compiler/nim.cfg4
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