diff options
| author | Mel <mel@rnrd.eu> | 2026-05-30 23:04:48 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-05-30 23:04:48 +0200 |
| commit | dd9f8fccf405af709c1d655dbec4be1561e990c0 (patch) | |
| tree | 5f05eff13d01df0e1bd365e0c31a9b4b69284bdc /boot/visit/ir.c | |
| parent | 4ec376b67d605910cb7757dc2e15a28a942f59ca (diff) | |
| download | catskill-dd9f8fccf405af709c1d655dbec4be1561e990c0.tar.zst catskill-dd9f8fccf405af709c1d655dbec4be1561e990c0.zip | |
Define name resolution behavior, clean-up langauge object resolution
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/visit/ir.c')
| -rw-r--r-- | boot/visit/ir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/visit/ir.c b/boot/visit/ir.c index ca32a1e..8a0297b 100644 --- a/boot/visit/ir.c +++ b/boot/visit/ir.c @@ -467,7 +467,7 @@ struct Type* printer_type_at(struct Printer* p, Type_Id id) { if (id >= array_length(&p->unit->types.entries)) return nil; - return *array_at(struct Type*, &p->unit->types.entries, id); + return unit_get_type(p->unit, id); } void |
