Fix lsp compilation problem

This commit is contained in:
Sofia 2025-08-05 22:03:41 +03:00
parent 8cbc65422e
commit 1dd4bbbb05

View File

@ -193,7 +193,10 @@ impl AnalysisState {
pub fn new_symbol(&mut self, definition: usize, kind: SemanticKind) -> SymbolId {
let id = SymbolId(self.symbol_table.len());
self.symbol_table.push(Symbol { kind, definition });
self.symbol_table.push(Symbol {
kind,
_definition: definition,
});
id
}