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

parser/checker: if select { ... } { (#6434)

This commit is contained in:
Uwe Krüger
2020-09-21 07:34:04 +02:00
committed by GitHub
parent 27f91faae5
commit 0f1c484ad1
4 changed files with 12 additions and 3 deletions

View File

@ -1891,6 +1891,8 @@ if select {
ch <- a {
...
}
} {
// channel was open
} else {
// channel is closed
}