mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 13:50:55 +01:00
Remove comment
This commit is contained in:
parent
1c6c5ade75
commit
001078a195
1 changed files with 0 additions and 7 deletions
|
@ -2207,13 +2207,6 @@ TypeFunctionReductionResult<TypeId> indexFunctionImpl(
|
||||||
|
|
||||||
TypeId indexerTy = follow(typeParams.at(1));
|
TypeId indexerTy = follow(typeParams.at(1));
|
||||||
|
|
||||||
// Whether the type is still pending.
|
|
||||||
//
|
|
||||||
// TODO: A generalized sanity check function for all type functions?
|
|
||||||
// But it should be optional for customization
|
|
||||||
// for functions that specifically need type function
|
|
||||||
// This here fixes a stack overflow.
|
|
||||||
// https://github.com/luau-lang/luau/issues/1406
|
|
||||||
if (isPending(indexerTy, ctx->solver))
|
if (isPending(indexerTy, ctx->solver))
|
||||||
{
|
{
|
||||||
return {std::nullopt, false, {indexerTy}, {}};
|
return {std::nullopt, false, {indexerTy}, {}};
|
||||||
|
|
Loading…
Add table
Reference in a new issue