mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-23 12:48:20 -04:00
Compound Literals - struct, array, slice, vector
This commit is contained in:
1 parent
84f2bcd885
commit
c10b46af9f
9 files changed
+356
-87
No files matched your search
@@ -60,7 +60,8 @@ void ssa_gen_code(ssaGen *s) {
|
||||
|
||||
switch (e->kind) {
|
||||
case Entity_TypeName: {
|
||||
ssaValue *t = ssa_make_value_type_name(a, e);
|
||||
ssaValue *t = ssa_make_value_type_name(a, e->token.string, e->type);
|
||||
map_set(&m->values, hash_pointer(e), t);
|
||||
map_set(&m->members, hash_string(name), t);
|
||||
} break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user