Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Three reader.ReadLine() calls in a row will cause first read result being overwritten #42006
What version of Go are you using (
@MewX thank you for raising this issue, before we can invesitigate you must correct the error handling in your program. Please make the following change;
once you've done that, please update your code sample and reverify that the problem continues to occur.
Modified the code to this:
There's one byte difference actually:
P.S. The last
This updated version output the right result for L1024.
The comment#1 code even generated the wrong output