From 001078a195cc796640e5fef4381ff7f749f59b48 Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 13 Sep 2024 10:15:57 -0700 Subject: [PATCH] Remove comment --- Analysis/src/TypeFunction.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Analysis/src/TypeFunction.cpp b/Analysis/src/TypeFunction.cpp index 529d9a062..9ae57fd10 100644 --- a/Analysis/src/TypeFunction.cpp +++ b/Analysis/src/TypeFunction.cpp @@ -2207,13 +2207,6 @@ TypeFunctionReductionResult indexFunctionImpl( 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)) { return {std::nullopt, false, {indexerTy}, {}};