1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix regression bug in formatting of go_array_wait_test.v (caused by 974737f)

This commit is contained in:
Delyan Angelov 2021-07-12 10:55:30 +03:00
parent 974737f26b
commit b5f1cf80a6
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -999,8 +999,10 @@ pub fn (t &Table) type_to_str_using_aliases(typ Type, import_aliases map[string]
return 'void' return 'void'
} }
.thread { .thread {
res = 'thread ' + rtype := sym.thread_info().return_type
t.type_to_str_using_aliases(sym.thread_info().return_type, import_aliases) if rtype != 1 {
res = 'thread ' + t.type_to_str_using_aliases(rtype, import_aliases)
}
} }
.alias, .any, .sum_type, .interface_, .size_t, .aggregate, .placeholder, .enum_ { .alias, .any, .sum_type, .interface_, .size_t, .aggregate, .placeholder, .enum_ {
res = t.shorten_user_defined_typenames(res, import_aliases) res = t.shorten_user_defined_typenames(res, import_aliases)