Fix nested type declarations name generation, to be internally consistent

This commit is contained in:
gingerBill
2020-03-08 11:46:05 +00:00
parent c584456a21
commit 8dc74a004c
5 changed files with 73 additions and 23 deletions

View File

@@ -625,6 +625,7 @@ void check_proc_decl(CheckerContext *ctx, Entity *e, DeclInfo *d) {
check_open_scope(ctx, pl->type);
defer (check_close_scope(ctx));
ctx->scope->procedure_entity = e;
Type *decl_type = nullptr;