mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
Actually fix compilation
This commit is contained in:
parent
ae7419e8d5
commit
5208aba6ac
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ TEST_CASE_FIXTURE(GeneralizationFixture, "dont_traverse_into_class_types_when_ge
|
||||||
{
|
{
|
||||||
auto [propTy, _] = freshType();
|
auto [propTy, _] = freshType();
|
||||||
|
|
||||||
TypeId cursedClass = arena.addType(ClassType{"Cursed", {{"oh_no", Property::readonly(propTy)}}, std::nullopt, std::nullopt, {}, {}, ""});
|
TypeId cursedClass = arena.addType(ClassType{"Cursed", {{"oh_no", Property::readonly(propTy)}}, std::nullopt, std::nullopt, {}, {}, "", {}});
|
||||||
|
|
||||||
auto genClass = generalize(cursedClass);
|
auto genClass = generalize(cursedClass);
|
||||||
REQUIRE(genClass);
|
REQUIRE(genClass);
|
||||||
|
|
Loading…
Add table
Reference in a new issue