From c020f1a03db7071728e4fd3af29ef55371c8b79b Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Mon, 29 Jan 2024 23:52:46 +0100 Subject: [PATCH] :art: use actual loc in ref.c --- src/lib/ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ref.c b/src/lib/ref.c index 8b6f7c2a..3d87e42c 100644 --- a/src/lib/ref.c +++ b/src/lib/ref.c @@ -164,7 +164,7 @@ static OP_CHECK(opck_ref_scan) { set_tflag(t, tflag_ref); const m_uint scope = env_push(env, base->info->value->from->owner_class, base->info->value->from->owner); - mk_class(env, t, (loc_t) {}); + mk_class(env, t, ts->td->tag.loc); base2ref(env, base, t); ref2base(env, t, base); ref2ref(env, t, t); -- 2.43.0