Fix lsp compilation problem
This commit is contained in:
parent
8cbc65422e
commit
1dd4bbbb05
@ -193,7 +193,10 @@ impl AnalysisState {
|
|||||||
|
|
||||||
pub fn new_symbol(&mut self, definition: usize, kind: SemanticKind) -> SymbolId {
|
pub fn new_symbol(&mut self, definition: usize, kind: SemanticKind) -> SymbolId {
|
||||||
let id = SymbolId(self.symbol_table.len());
|
let id = SymbolId(self.symbol_table.len());
|
||||||
self.symbol_table.push(Symbol { kind, definition });
|
self.symbol_table.push(Symbol {
|
||||||
|
kind,
|
||||||
|
_definition: definition,
|
||||||
|
});
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user