On 17.02.2021 19:33, RĂ©mi Bernon wrote:
@@ -116,6 +116,7 @@ static struct namespace global_namespace = {
static struct namespace *current_namespace = &global_namespace; static struct namespace *parameters_namespace = NULL; +static statement_list_t *parameterized_type_stmts = NULL;
Sorry for not catching this earlier, but what's the reason for having this? Is for delaying specialization? It seems to me that you could just specialize the type as soon as it appears in 'declare' statement and avoid additional global list maintenance.
Thanks,
Jacek