This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Description
Describe the bug
While supporting getting Python symbols from Python libs and linking them to the appropriate Jac nodes, I encountered an issue with a missing symbol.
import:py pygls.server;
obj ServerWrapper {
can init(file: str);
can get_server(server_ip: str, port: int) -> pygls.server.LanguageServer;
}
:obj:ServerWrapper:can:init
(file: str) {
self.file = file;
}
:obj:ServerWrapper:can:get_server {
return pygls.server.LanguageServer("test_server", "1");
}
for the above code snippet the symbol for server is not there in the symbol table however there is a sub table created correctly inside pygls called server
To Reproduce
- jac tool it sym jaclang/jaclang/tests/fixtures/type_info.jac