启动时的报错
```
Workspace diagnostic pull failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.StackOverflowError
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.StackOverflowError
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44)
at com.tang.intellij.lua.psi.LuaPsiResolveUtilKt.multiResolve(LuaPsiResolveUtil.kt:113)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$set$1$1.invoke(Expressions.kt:222)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$set$1$1.invoke(Expressions.kt:221)
at com.tang.intellij.lua.search.SearchContext.withRecursionGuard(SearchContext.kt:159)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-5(Expressions.kt:221)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:218)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:54)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:35)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:189)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:50)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessTypeAt(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.impl.LuaExprListImpl.guessTypeAt(LuaExprListImpl.java:50)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$3.invoke(Expressions.kt:363)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$3.invoke(Expressions.kt:362)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:362)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175)
at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54)
at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391)
at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98)
at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91)
at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98)
at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79)
at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:255)
at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:370)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:35)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:189)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:50)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessTypeAt(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.impl.LuaExprListImpl.guessTypeAt(LuaExprListImpl.java:50)
at com.tang.intellij.lua.ty.DeclarationsKt$infer$1.invoke(Declarations.kt:138)
at com.tang.intellij.lua.ty.DeclarationsKt$infer$1.invoke(Declarations.kt:137)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:137)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:43)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:40)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:255)
at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:370)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175)
at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54)
at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391)
at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98)
at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91)
at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98)
at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79)
at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175)
at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54)
at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391)
at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98)
at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:94)
at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98)
at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79)
at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175)
at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54)
at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391)
at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98)
at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91)
at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98)
at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79)
at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175)
at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54)
at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391)
at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98)
at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91)
at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98)
at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79)
at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
...
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175)
at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54)
at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391)
```
之后编辑的时候也会持续报错,看起来是在猜测类型时报错的,也是 Caused by StackOverFlowError
编辑时的报错
```
Request textDocument/completion failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.StackOverflowError
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.StackOverflowError
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:255)
at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:370)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:255)
at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:370)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:35)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:189)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:50)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessTypeAt(LuaPsiImplUtil.kt:248)
at com.tang.intellij.lua.psi.impl.LuaExprListImpl.guessTypeAt(LuaExprListImpl.java:50)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$3.invoke(Expressions.kt:363)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$3.invoke(Expressions.kt:362)
at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:362)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175)
at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54)
at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391)
at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373)
at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99)
at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98)
at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91)
at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98)
at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79)
at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117)
at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371)
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
...
at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23)
at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22)
at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56)
at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43)
at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41)
at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27)
at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170)
at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58)
at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63)
at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58)
at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29)
at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392)
at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789)
at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41)
```
加载时项目因为栈溢出报错。不确定是否和项目的规模有关(30M 左右)。
因为堆栈太大了删掉了一些看起来重复的部分。
启动时的报错
``` Workspace diagnostic pull failed. Message: Internal error. Code: -32603 java.util.concurrent.CompletionException: java.lang.StackOverflowError at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649) at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Caused by: java.lang.StackOverflowError at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44) at com.tang.intellij.lua.psi.LuaPsiResolveUtilKt.multiResolve(LuaPsiResolveUtil.kt:113) at com.tang.intellij.lua.ty.ExpressionsKt$infer$set$1$1.invoke(Expressions.kt:222) at com.tang.intellij.lua.ty.ExpressionsKt$infer$set$1$1.invoke(Expressions.kt:221) at com.tang.intellij.lua.search.SearchContext.withRecursionGuard(SearchContext.kt:159) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-5(Expressions.kt:221) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:218) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:54) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:35) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:189) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:50) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessTypeAt(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.psi.impl.LuaExprListImpl.guessTypeAt(LuaExprListImpl.java:50) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$3.invoke(Expressions.kt:363) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$3.invoke(Expressions.kt:362) at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:362) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392) at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175) at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54) at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391) at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98) at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91) at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98) at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79) at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:255) at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:370) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:35) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:189) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:50) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessTypeAt(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.psi.impl.LuaExprListImpl.guessTypeAt(LuaExprListImpl.java:50) at com.tang.intellij.lua.ty.DeclarationsKt$infer$1.invoke(Declarations.kt:138) at com.tang.intellij.lua.ty.DeclarationsKt$infer$1.invoke(Declarations.kt:137) at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121) at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:137) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:43) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:40) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:255) at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:370) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392) at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175) at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54) at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391) at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98) at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91) at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98) at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79) at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392) at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175) at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54) at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391) at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98) at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:94) at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98) at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79) at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392) at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175) at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54) at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391) at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98) at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91) at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98) at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79) at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392) at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175) at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54) at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391) at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98) at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91) at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98) at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79) at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) ... at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392) at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175) at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54) at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391) ```之后编辑的时候也会持续报错,看起来是在猜测类型时报错的,也是 Caused by StackOverFlowError
编辑时的报错
``` Request textDocument/completion failed. Message: Internal error. Code: -32603 java.util.concurrent.CompletionException: java.lang.StackOverflowError at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649) at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Caused by: java.lang.StackOverflowError at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:255) at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:370) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessParentType(LuaPsiImplUtil.kt:255) at com.tang.intellij.lua.psi.impl.LuaIndexExprImpl.guessParentType(LuaIndexExprImpl.java:86) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:370) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.ty.DeclarationsKt.infer(Declarations.kt:35) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:189) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:50) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt$guessTypeAt$1.invoke(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121) at com.tang.intellij.lua.psi.LuaPsiImplUtilKt.guessTypeAt(LuaPsiImplUtil.kt:248) at com.tang.intellij.lua.psi.impl.LuaExprListImpl.guessTypeAt(LuaExprListImpl.java:50) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$3.invoke(Expressions.kt:363) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$3.invoke(Expressions.kt:362) at com.tang.intellij.lua.search.SearchContext.withIndex(SearchContext.kt:121) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:362) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392) at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:52) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process$default(LuaClassMemberIndex.kt:44) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.processAll(LuaClassMemberIndex.kt:175) at com.tang.intellij.lua.psi.search.LuaShortNamesManagerImpl.processAllMembers(LuaShortNamesManagerImpl.kt:54) at com.tang.intellij.lua.psi.search.CompositeLuaShortNamesManager.processAllMembers(CompositeLuaShortNamesManager.kt:74) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType(Expressions.kt:391) at com.tang.intellij.lua.ty.ExpressionsKt.access$guessFieldType(Expressions.kt:1) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:373) at com.tang.intellij.lua.ty.ExpressionsKt$infer$retTy$1$4.invoke(Expressions.kt:371) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:99) at com.tang.intellij.lua.ty.TyUnion$Companion$each$1.invoke(TyUnion.kt:98) at com.tang.intellij.lua.ty.TyUnion$Companion.process(TyUnion.kt:91) at com.tang.intellij.lua.ty.TyUnion$Companion.each(TyUnion.kt:98) at com.tang.intellij.lua.ty.ITy$DefaultImpls.each(Ty.kt:79) at com.tang.intellij.lua.ty.Ty.each(Ty.kt:117) at com.tang.intellij.lua.ty.ExpressionsKt.infer$lambda-7(Expressions.kt:371) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) ... at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:65) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard(utils.kt:23) at com.tang.intellij.lua.ext.UtilsKt.recursionGuard$default(utils.kt:22) at com.tang.intellij.lua.ty.ExpressionsKt.infer(Expressions.kt:320) at com.tang.intellij.lua.ty.ExpressionsKt.inferExprInner(Expressions.kt:56) at com.tang.intellij.lua.ty.ExpressionsKt.inferExpr(Expressions.kt:43) at com.tang.intellij.lua.ty.DeclarationsKt.inferInner(Declarations.kt:41) at com.tang.intellij.lua.ext.ILuaTypeInfer$Companion.infer(ILuaTypeInfer.kt:27) at com.tang.intellij.lua.search.SearchContext.inferAndCache(SearchContext.kt:170) at com.tang.intellij.lua.search.SearchContext.access$inferAndCache(SearchContext.kt:35) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion$infer$2.invoke(SearchContext.kt:58) at com.tang.intellij.lua.search.SearchContext$Companion.with(SearchContext.kt:63) at com.tang.intellij.lua.search.SearchContext$Companion.infer(SearchContext.kt:58) at com.tang.intellij.lua.psi.LuaTypeGuessable.guessType(LuaTypeGuessable.java:29) at com.tang.intellij.lua.ty.ExpressionsKt.guessFieldType$lambda-8(Expressions.kt:392) at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:789) at com.tang.intellij.lua.stubs.index.LuaClassMemberIndex$Companion.process(LuaClassMemberIndex.kt:41) ```