| ... | ... | @@ -6612,8 +6612,8 @@ static Buf *get_anon_type_name(CodeGen *codegen, IrExecutable *exec, const char |
| 6612 | 6612 | Scope *scope, AstNode *source_node) |
| 6613 | 6613 | { |
| 6614 | 6614 | if (exec->name) { |
| 6615 | | ZigPackage *cur_scope_pkg = scope_package(scope); |
| 6616 | | Buf *namespace_name = buf_create_from_buf(&cur_scope_pkg->pkg_path); |
| 6615 | ZigType *import = get_scope_import(scope); |
| 6616 | Buf *namespace_name = buf_create_from_buf(&import->name); |
| 6617 | 6617 | if (buf_len(namespace_name) != 0) buf_append_char(namespace_name, NAMESPACE_SEP_CHAR); |
| 6618 | 6618 | buf_append_buf(namespace_name, exec->name); |
| 6619 | 6619 | return namespace_name; |
| ... | ... | @@ -6625,8 +6625,8 @@ static Buf *get_anon_type_name(CodeGen *codegen, IrExecutable *exec, const char |
| 6625 | 6625 | buf_appendf(name, ")"); |
| 6626 | 6626 | return name; |
| 6627 | 6627 | } else { |
| 6628 | | ZigPackage *cur_scope_pkg = scope_package(scope); |
| 6629 | | Buf *namespace_name = buf_create_from_buf(&cur_scope_pkg->pkg_path); |
| 6628 | ZigType *import = get_scope_import(scope); |
| 6629 | Buf *namespace_name = buf_create_from_buf(&import->name); |
| 6630 | 6630 | if (buf_len(namespace_name) != 0) buf_append_char(namespace_name, NAMESPACE_SEP_CHAR); |
| 6631 | 6631 | buf_appendf(namespace_name, "%s:%" ZIG_PRI_usize ":%" ZIG_PRI_usize, kind_name, |
| 6632 | 6632 | source_node->line + 1, source_node->column + 1); |