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

parser: don't require unary > prefix for select timeout (#10928)

This commit is contained in:
Uwe Krüger
2021-07-23 22:24:27 +02:00
committed by GitHub
parent 1999850f88
commit 1e5627e777
17 changed files with 65 additions and 56 deletions

View File

@ -32,7 +32,7 @@ fn f1(ch1 chan int, ch2 chan St, ch3 chan int, ch4 chan int, ch5 chan int, mut s
ch5 <- getint() {
a = 9
}
> 300 * time.millisecond {
300 * time.millisecond {
a = 3
}
}