You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the language server in tl's source tree (next branch)
Hover pretty much any symbol with the mouse
{
"message": "Error in handler for request with method {0}: {1}",
"level": "ERROR",
"module": "lsp_events_manager",
"timestamp": 1726792888,
"fields": {
"1": "/home/patrick/.luarocks/share/lua/5.4/tl.lua:13399: attempt to index a nil value (field 'reporter')\nstack traceback:\n\t/home/patrick/.luarocks/share/lua/5.4/tl.lua:13399: in function 'tl.get_types'\n\t...luarocks/share/lua/5.4/teal_language_server/document.lua:158: in function 'teal_language_server.document.get_type_report'\n\t...luarocks/share/lua/5.4/teal_language_server/document.lua:427: in function 'teal_language_server.document.type_information_at'\n\t...cks/share/lua/5.4/teal_language_server/misc_handlers.lua:286: in function 'teal_language_server.misc_handlers._on_hover'\n\t...cks/share/lua/5.4/teal_language_server/misc_handlers.lua:317: in field '?'\n\t...hare/lua/5.4/teal_language_server/lsp_events_manager.lua:41: in function <...hare/lua/5.4/teal_language_server/lsp_events_manager.lua:41>\n\t[C]: in function 'xpcall'\n\t...hare/lua/5.4/teal_language_server/lsp_events_manager.lua:40: in function 'teal_language_server.lsp_events_manager._trigger'\n\t...hare/lua/5.4/teal_language_server/lsp_events_manager.lua:78: in function <...hare/lua/5.4/teal_language_server/lsp_events_manager.lua:69>",
"0": "textDocument/hover"
},
"time": 19.485117641998
}
The text was updated successfully, but these errors were encountered:
pdesaulniers
changed the title
[next] Error while parsing tl.tl
[next] textDocument/hover fails in tl.tlSep 20, 2024
pdesaulniers
changed the title
[next] textDocument/hover fails in tl.tl
[next] textDocument/hover fails in tl.tlSep 20, 2024
At least one of the issues was that the lua wasn't generated yet for TLS in tl-next branch. I've generated it now, but it still may not work yet since I haven't tested it
To reproduce:
tl
from thenext
branch andlua-language-server
from thetl-next
branchnext
branch)The text was updated successfully, but these errors were encountered: