We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code provided below is a minimal reproduction of this issue.
package main import ( "fmt" "io" "time" ) func main() { reader, writer := io.Pipe() go func() { println("goroutine start") _, err := writer.Write([]byte("hello")) if err != nil { fmt.Println(err) writer.Close() } println("goroutine end") }() //c.Usleep(2 * 1000 * 1000) time.Sleep(2 * time.Second) reader.Close() //c.Usleep(2 * 1000 * 1000) time.Sleep(2 * time.Second) }
Unexpected output: (llgo)
llgo run . goroutine start
Expected output(go):
go run . goroutine start io: read/write on closed pipe goroutine end
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The code provided below is a minimal reproduction of this issue.
Unexpected output: (llgo)
llgo run . goroutine start
Expected output(go):
go run . goroutine start io: read/write on closed pipe goroutine end
The text was updated successfully, but these errors were encountered: