Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(45)

Issue 3896042: code review 3896042: time.NewTicker: panic for intervals <= 0. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by r
Modified:
14 years, 5 months ago
Reviewers:
CC:
rsc, adg, golang-dev
Visibility:
Public.

Description

time.NewTicker: panic for intervals <= 0. Not absolutely certain it's right to do this, but since there's no error value coming back, it seems reasonable. Fixes issue 1392.

Patch Set 1 #

Patch Set 2 : code review 3896042: time.NewTicker: panic for intervals <= 0. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M src/pkg/time/tick.go View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 5 months ago (2011-01-07 22:12:46 UTC) #1
adg
LGTM On 8 January 2011 09:12, <r@golang.org> wrote: > Reviewers: rsc, > > Message: > ...
14 years, 5 months ago (2011-01-07 22:33:29 UTC) #2
r
14 years, 5 months ago (2011-01-07 22:41:48 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=3aaeaeaaaff1 ***

time.NewTicker: panic for intervals <= 0.
Not absolutely certain it's right to do this, but since there's
no error value coming back, it seems reasonable.

Fixes issue 1392.

R=rsc, adg
CC=golang-dev
http://codereview.appspot.com/3896042
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b