From 9f934cbc0f0fd60a6938ac1c4c84edc270de94ca Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Thu, 7 Apr 2022 12:41:34 -0300 Subject: Add initial implementation of typeclass resolution --- src/nodes.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nodes.c') diff --git a/src/nodes.c b/src/nodes.c index a5b67d1..5689d18 100644 --- a/src/nodes.c +++ b/src/nodes.c @@ -9,6 +9,7 @@ alloc_node(NodeType type) { node->line = 0; node->col = 0; node->scope = NULL; + node->type_class = TYPE_UNK; return node; } -- cgit v1.2.1