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

all: byte => u8

This commit is contained in:
Alexander Medvednikov
2022-04-15 14:58:56 +03:00
parent b49d873217
commit d4a0d6f73c
221 changed files with 1365 additions and 1365 deletions

View File

@@ -14,9 +14,9 @@ fn do_send_int(ch chan int) {
}
}
fn do_send_byte(ch chan byte) {
fn do_send_u8(ch chan byte) {
for i in 0 .. 300 {
ch <- byte(i)
ch <- u8(i)
}
}
@@ -33,7 +33,7 @@ fn test_select() {
recch := chan i64{cap: 0}
go do_rec_i64(recch)
go do_send_int(chi)
go do_send_byte(chb)
go do_send_u8(chb)
go do_send_i64(chl)
mut sum := i64(0)
mut rl := i64(0)