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:
parent
974737f26b
commit
b5f1cf80a6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user