Added ErrorSet TypeInfo generation.

This commit is contained in:
Alexandros Naskos
2018-04-26 17:14:38 +03:00
parent f5977f68eb
commit 4aa5d87ada
2 changed files with 58 additions and 1 deletions

View File

@@ -6426,7 +6426,7 @@ static void define_builtin_compile_vars(CodeGen *g) {
" };\n"
"\n"
" pub const ErrorUnion = struct {\n"
" error_set: ErrorSet,\n"
" error_set: &ErrorSet,\n"
" payload: &TypeInfo,\n"
" };\n"
"\n"