diff options
author | Bad Diode <bd@badd10de.dev> | 2022-04-07 12:41:34 -0300 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-04-07 12:41:34 -0300 |
commit | 9f934cbc0f0fd60a6938ac1c4c84edc270de94ca (patch) | |
tree | 9304f9bc802eac175b594de4bf81730b7d815513 /src/nodes.c | |
parent | a718a62a45b081bfd2cff8da56da2d2856ca244b (diff) | |
download | bdl-9f934cbc0f0fd60a6938ac1c4c84edc270de94ca.tar.gz bdl-9f934cbc0f0fd60a6938ac1c4c84edc270de94ca.zip |
Add initial implementation of typeclass resolution
Diffstat (limited to 'src/nodes.c')
-rw-r--r-- | src/nodes.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { | |||
9 | node->line = 0; | 9 | node->line = 0; |
10 | node->col = 0; | 10 | node->col = 0; |
11 | node->scope = NULL; | 11 | node->scope = NULL; |
12 | node->type_class = TYPE_UNK; | ||
12 | return node; | 13 | return node; |
13 | } | 14 | } |
14 | 15 | ||