Skip to content

Commit

Permalink
re-add assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Vighnesh-V committed Oct 11, 2024
1 parent f52fe9f commit 69776f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/TypeVar.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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{}});
Expand Down

0 comments on commit 69776f6

Please sign in to comment.