mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Pass environment scope to autocomplete typechecker
This commit is contained in:
parent
12c5502027
commit
b4ce00abc8
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ CheckResult Frontend::check(const ModuleName& name, std::optional<FrontendOption
|
|||
typeCheckerForAutocomplete.unifierIterationLimit = std::nullopt;
|
||||
}
|
||||
|
||||
ModulePtr moduleForAutocomplete = typeCheckerForAutocomplete.check(sourceModule, Mode::Strict);
|
||||
ModulePtr moduleForAutocomplete = typeCheckerForAutocomplete.check(sourceModule, Mode::Strict, environmentScope);
|
||||
moduleResolverForAutocomplete.modules[moduleName] = moduleForAutocomplete;
|
||||
|
||||
double duration = getTimestamp() - timestamp;
|
||||
|
|
Loading…
Add table
Reference in a new issue