select on unbuffered chan w/o default

Run Settings
LanguageGo
Language Version
Run Command
package main import "fmt" func main() { // create unbuffered channel of int values with capacity of 1 ch := make(chan int) select { case ch <- 3: // uncomment the following line to get this program work // default: } fmt.Printf("ok\n") }
Editor Settings
Theme
Key bindings
Full width
Lines