Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
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.