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

Issue 6852062: code review 6852062: go/ast: FuncType.Params may be nil (per AST documentation) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by gri
Modified:
12 years, 8 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

go/ast: FuncType.Params may be nil (per AST documentation) ast.Walk needs to check for it or it will crash.

Patch Set 1 #

Patch Set 2 : diff -r d464317cf047 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/pkg/go/ast/walk.go View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 3
gri
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 8 months ago (2012-11-16 19:07:46 UTC) #1
r
LGTM
12 years, 8 months ago (2012-11-16 19:12:19 UTC) #2
gri
12 years, 8 months ago (2012-11-16 19:53:32 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=821585f8baba ***

go/ast: FuncType.Params may be nil (per AST documentation)

ast.Walk needs to check for it or it will crash.

R=r
CC=golang-dev
http://codereview.appspot.com/6852062
Sign in to reply to this message.

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