Compare commits

...

2 Commits

Author SHA1 Message Date
1dd4bbbb05 Fix lsp compilation problem 2025-08-05 22:04:02 +03:00
8cbc65422e Fix more warnings 2025-08-05 22:03:14 +03:00
2 changed files with 6 additions and 3 deletions

View File

@ -6,7 +6,7 @@ use std::{
};
use crate::{
CmpPredicate, Context, Instr, InstructionData, TerminatorKind, Type,
CmpPredicate, Context, Instr, InstructionData, TerminatorKind,
builder::*,
debug_information::{
DebugArrayType, DebugBasicType, DebugFieldType, DebugInformation, DebugLocalVariable, DebugLocation,

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
}
@ -217,7 +220,7 @@ impl AnalysisState {
#[derive(Debug, Clone)]
pub struct Symbol {
pub kind: SemanticKind,
pub definition: usize,
pub _definition: usize,
}
pub struct AnalysisScope<'a> {