From e86901a67e81719427fa7e5ad80d7f8c47db51e0 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sat, 29 Oct 2022 13:03:02 +0200 Subject: [PATCH] :art: mark Object as compound --- src/lib/object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/object.c b/src/lib/object.c index ade66475..490089fe 100644 --- a/src/lib/object.c +++ b/src/lib/object.c @@ -122,6 +122,7 @@ static ID_EMIT(opem_this) { GWION_IMPORT(object) { const Type t_object = gwi_mk_type(gwi, "Object", SZ_INT, "@Compound"); gwi_set_global_type(gwi, t_object, et_object); + set_tflag(t_object, tflag_compound); t_object->nspc = new_nspc(gwi->gwion->mp, "Object"); struct SpecialId_ spid = {.ck = opck_this, .em = opem_this, .is_const = 1}; gwi_specialid(gwi, "this", &spid); -- 2.43.0