From 2353c8654941f6c599183287a7235a91ee83c038 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sun, 15 Aug 2021 21:20:22 -0700 Subject: [PATCH] Shut up stupid polymorphic warning We have polymorphic types with a type that has no corresponding element in the union --- retrace/retrace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retrace/retrace.py b/retrace/retrace.py index 408c027c7e..4b9ccf0a22 100644 --- a/retrace/retrace.py +++ b/retrace/retrace.py @@ -275,7 +275,7 @@ def visitPolymorphic(self, polymorphic, lvalue, rvalue): print(r' break;') if polymorphic.defaultType is None: print(r' default:') - print(r' retrace::warning(call) << "unexpected polymorphic case" << %s << "\n";' % (switchExpr,)) + #print(r' retrace::warning(call) << "unexpected polymorphic case" << %s << "\n";' % (switchExpr,)) print(r' break;') print(r' }') if polymorphic.stream: