mirror of
https://github.com/luau-lang/luau.git
synced 2025-01-19 17:28:06 +00:00
re-add assertion
This commit is contained in:
parent
f52fe9f351
commit
69776f6fc1
1 changed files with 3 additions and 1 deletions
|
@ -465,9 +465,11 @@ TEST_CASE("proof_that_isBoolean_uses_all_of")
|
||||||
|
|
||||||
TEST_CASE("content_reassignment")
|
TEST_CASE("content_reassignment")
|
||||||
{
|
{
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||||
Type myAny{AnyType{}, /*presistent*/ true};
|
Type myAny{AnyType{}, /*presistent*/ true};
|
||||||
myAny.documentationSymbol = "@global/any";
|
myAny.documentationSymbol = "@global/any";
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
TypeArena arena;
|
TypeArena arena;
|
||||||
|
|
||||||
TypeId futureAny = arena.addType(FreeType{TypeLevel{}});
|
TypeId futureAny = arena.addType(FreeType{TypeLevel{}});
|
||||||
|
|
Loading…
Reference in a new issue