From 7c5e7a4f6a31b6bb92d9f0a243e96b8030c9944c Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 3 Jun 2019 12:00:28 +0200 Subject: disable the new CaseTransition warning for the Nim compiler itself --- compiler/nim.cfg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler') 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 -- cgit 1.4.1-2-gfad0