mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 21:40:43 +00:00
17 lines
568 B
C++
17 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;
|
|
}
|
|
|
|
}
|