From 8e2879f269e232c7e107c275721b716b44888d49 Mon Sep 17 00:00:00 2001 From: gambas Date: Mon, 8 Mar 2021 16:19:12 +0100 Subject: [PATCH] Class that inherits an array class now inherits its internal array flag too. [INTERPRETER] * BUG: Class that inherits an array class now inherits its internal array flag too. --- main/gbx/gbx_class.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/gbx/gbx_class.c b/main/gbx/gbx_class.c index 69b489826..b592921b1 100644 --- a/main/gbx/gbx_class.c +++ b/main/gbx/gbx_class.c @@ -959,6 +959,8 @@ void CLASS_inheritance(CLASS *class, CLASS *parent) if (parent->auto_create) class->auto_create = TRUE; + + class->is_array = parent->is_array; if (!class->array_type) class->array_type = parent->array_type;