harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit bcda13af5a8a3f4664d5a5ff8e49efaff949634f
parent e5a9ac58067aae5138409540afd8bbfc5802efe0
Author: Armin Weigl <tb46305@gmail.com>
Date:   Fri,  9 Apr 2021 18:27:49 +0000

check_expr_alloc: dealias type hint

Diffstat:
Msrc/check.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/check.c b/src/check.c @@ -271,7 +271,7 @@ check_expr_alloc(struct context *ctx, inittype = hint; } else if (type_dealias(hint)->storage == STORAGE_POINTER) { inittype = type_dealias(hint)->pointer.referent; - flags = hint->pointer.flags; + flags = type_dealias(hint)->pointer.flags; } }