mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 05:20:38 +00:00
18 lines
568 B
C++
18 lines
568 B
C++
|
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
||
|
#include "ConstraintGraphBuilderFixture.h"
|
||
|
|
||
|
namespace Luau
|
||
|
{
|
||
|
|
||
|
ConstraintGraphBuilderFixture::ConstraintGraphBuilderFixture()
|
||
|
: Fixture()
|
||
|
, mainModule(new Module)
|
||
|
, cgb("MainModule", mainModule, &arena, NotNull(&moduleResolver), singletonTypes, NotNull(&ice), frontend.getGlobalScope(), &logger)
|
||
|
, forceTheFlag{"DebugLuauDeferredConstraintResolution", true}
|
||
|
{
|
||
|
BlockedTypeVar::nextIndex = 0;
|
||
|
BlockedTypePack::nextIndex = 0;
|
||
|
}
|
||
|
|
||
|
}
|