mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
scopedfastflag in test case
This commit is contained in:
parent
b3dcab95ec
commit
d75661b456
1 changed files with 2 additions and 0 deletions
|
@ -1148,6 +1148,8 @@ TEST_CASE_FIXTURE(BuiltinsFixture, "module_scope_check")
|
|||
|
||||
TEST_CASE_FIXTURE(BuiltinsFixture, "use_correct_global_scope")
|
||||
{
|
||||
ScopedFastFlag sff("LuauTypeCheckerUseCorrectScope", true);
|
||||
|
||||
GlobalTypes& globals = frontend.globalsForAutocomplete;
|
||||
unfreeze(globals.globalTypes);
|
||||
LoadDefinitionFileResult definitionsResult = frontend.loadDefinitionFile(globals, globals.globalScope, R"(
|
||||
|
|
Loading…
Add table
Reference in a new issue