Skip to content

Commit 17a2cef

Browse files
committed
feat: added hint table in LoweredStructTypeContainer
1 parent 27ae91c commit 17a2cef

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

compiler/compiler_typing/src/structs.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
use std::collections::HashMap;
2+
13
use compiler_utils::utils::indexed::IndexStorage;
24
use diagnostics::{DiagnosticResult, builders::{make_cannot_find_type_field, make_cannot_find_type_function}};
35

@@ -18,6 +20,7 @@ pub struct LoweredStructTypeContainer {
1820
pub is_lowered_enum_parent: bool,
1921
pub lowered_enum_parent: Option<RawEnumTypeContainer>,
2022
pub lowered_enum_child: Option<RawEnumEntryContainer>,
23+
pub hir_mir_indexes: HashMap<usize, usize>,
2124
pub functions: IndexStorage<usize>
2225
}
2326

0 commit comments

Comments
 (0)