Jaseci-Labs / jac-analyzer

The Jaclang Language Extension for VScode is an extension that provides basic Language Server Protocol (LSP) functionalities for the Jaclang programming language.
MIT License
0 stars 3 forks source link

[Issue] Internal error is thrown instead of syntax error in case of not setting an initial value for a global var #19

Closed mgtm98 closed 9 months ago

mgtm98 commented 9 months ago

for the following jac snippet

global integer_variable;
global string_variable = "dsds";

The following internal error is generated

ERROR - jaclang\jac\typing\example.jac, line 0, col 0: Internal Error: 'NoneType' object has no attribute 'resume_parse'
mgtm98 commented 9 months ago

Moved to jac repo not vscode plugin repo