Nuctori

Results 4 issues of Nuctori

cfadmin的设计思路中,似乎是推荐使用rpc的风格设计接口。 但是也必然存在需要设计restful风格接口的场景,(比如公司项目规范规定) 我寻思应该增加DELETE和PATCH动词的支持,以支持此类需求

enhancement

`goroutine 694 [running]: luahelper-lsp/langserver/check/common.(*DirManager).GetAllCompleFile(0xc000028240, {0xc0001f9230, 0x3}, 0x4, 0x0, 0xc000f8d018) I:/companyproject/LuaHelper/github/LuaHelper/luahelper-lsp/langserver/check/common/dir_manager.go:478 +0x7db luahelper-lsp/langserver/check.(*AllProject).CodeCompleteFile(0xc00025e8c0, {0xc0072d2ac0?, 0x1486c90?}, {0x13f1b00, 0x7}, 0x4, {0xc0072d2ae2, 0x18}) I:/companyproject/LuaHelper/github/LuaHelper/luahelper-lsp/langserver/check/check_lsp_complete.go:32 +0x166 luahelper-lsp/langserver.(*LspServer).judgeCompeleteFile(0xc000156280, {0xc007231f80, 0x57}, {0xc0061724e0?, 0x182?, 0x1a0?}, 0x3a?) I:/companyproject/LuaHelper/github/LuaHelper/luahelper-lsp/langserver/textdocument_complete.go:365 +0x613...

``` panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x80 pc=0x326ee9] goroutine 164 [running]: luahelper-lsp/langserver/check/analysis.(*Analysis).ChangeSelfToReferVar(0xc00052a000, {0xc0003b24a3, 0x4}, {0x0, 0x0}) G:/companyproject/LuaHelper/github/LuaHelper/luahelper-lsp/langserver/check/analysis/analysis_search.go:1033 +0x89 luahelper-lsp/langserver/check/analysis.(*Analysis).findNameStr(0xc00052a000, 0xc0001ee2a0, 0xc000480000?) G:/companyproject/LuaHelper/github/LuaHelper/luahelper-lsp/langserver/check/analysis/analysis_search.go:444...

如题,目前luaHelper 对于返回self的方法没办法自动推断类型,希望增加支持 `---@class myClass local myClass = class("myClass") function myClass:GetSelf() return self -- deduce return type is any now, not myClass end `