Skip to content

Commit feb51e6

Browse files
committed
feat: added debug log for later
1 parent 28ea2e9 commit feb51e6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • compiler/astoir_hir_lowering/src

compiler/astoir_hir_lowering/src/types.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ pub fn lower_ast_type<K: DiagnosticSpanOrigin>(
6565
{
6666
return Ok(Type::Generic(t, vec![], vec![]));
6767
} else {
68+
69+
println!("{}: {:#?}", hash, lower);
70+
println!("{:#?}", context.global_scope.get_type(EntryKey { name_hash: hash }, origin));
71+
6872
let ind = match context.global_scope.append(
6973
EntryKey { name_hash: hash },
7074
GlobalStorageEntryType::Type(lower),

0 commit comments

Comments
 (0)