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:
@ -1891,6 +1891,8 @@ if select {
|
||||
ch <- a {
|
||||
...
|
||||
}
|
||||
} {
|
||||
// channel was open
|
||||
} else {
|
||||
// channel is closed
|
||||
}
|
||||
|
Reference in New Issue
Block a user