From 69776f6fc1d3e6ba90928fd7cb8d9484c01a1410 Mon Sep 17 00:00:00 2001 From: Vighnesh Date: Fri, 11 Oct 2024 13:39:14 -0700 Subject: [PATCH] re-add assertion --- tests/TypeVar.test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/TypeVar.test.cpp b/tests/TypeVar.test.cpp index 9e21b1e03..1d8db6bb1 100644 --- a/tests/TypeVar.test.cpp +++ b/tests/TypeVar.test.cpp @@ -465,9 +465,11 @@ TEST_CASE("proof_that_isBoolean_uses_all_of") TEST_CASE("content_reassignment") { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" Type myAny{AnyType{}, /*presistent*/ true}; myAny.documentationSymbol = "@global/any"; - +#pragma GCC diagnostic pop TypeArena arena; TypeId futureAny = arena.addType(FreeType{TypeLevel{}});