Added struct TypeInfo generation.

This commit is contained in:
Alexandros Naskos
2018-04-27 02:52:09 +03:00
parent 9041d0d37e
commit a2dadbc206
2 changed files with 69 additions and 1 deletions

View File

@@ -6417,7 +6417,7 @@ static void define_builtin_compile_vars(CodeGen *g) {
"\n"
" pub const StructField = struct {\n"
" name: []const u8,\n"
" offset: usize,\n"
" offset: ?usize,\n"
" field_type: type,\n"
" };\n"
"\n"