mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Move down
This commit is contained in:
parent
30dcf49f04
commit
9aaf5f3a0a
1 changed files with 2 additions and 2 deletions
|
@ -1292,8 +1292,6 @@ static std::optional<AutocompleteEntryMap> autocompleteStringParams(const Source
|
|||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::optional<std::string> candidateString = getStringContents(nodes.back());
|
||||
|
||||
AstExprCall* candidate = nodes.at(nodes.size() - 2)->as<AstExprCall>();
|
||||
if (!candidate)
|
||||
{
|
||||
|
@ -1313,6 +1311,8 @@ static std::optional<AutocompleteEntryMap> autocompleteStringParams(const Source
|
|||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::optional<std::string> candidateString = getStringContents(nodes.back());
|
||||
|
||||
auto performCallback = [&](const FunctionType* funcType) -> std::optional<AutocompleteEntryMap>
|
||||
{
|
||||
for (const std::string& tag : funcType->tags)
|
||||
|
|
Loading…
Add table
Reference in a new issue