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.
time: playground doesn't crash on Reset of zero time.TImer #8721
This program crashes at Go 1.3 and Go tip (to be 1.4), but doesn't crash on the Go 1.3 playground: https://play.golang.org/p/earSjQISp8 Instead, it ends successfully. That led a reporter on golang-dev to conclude that it should work outside of the playground. Perhaps Reset, etc should panic if the Timer's runtimeTimer is zero. Or it should work outside of the playground. Or be documented as-is.