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

Issue 7429047: code review 7429047: go/types: fixed a few failure checks (Closed)

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

Description

go/types: fixed a few failure checks More robustness in case of incorrect programs. Fixes issue 4962.

Patch Set 1 #

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

Patch Set 3 : diff -r 278ff13eca7a https://code.google.com/p/go/ #

Patch Set 4 : diff -r 3d1a771ddcc5 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M src/pkg/go/types/expr.go View 1 6 chunks +30 lines, -4 lines 0 comments Download
M src/pkg/go/types/stmt.go View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4
gri
Hello dsymonds@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 3 months ago (2013-03-02 00:38:34 UTC) #1
dsymonds
LGTM, though I don't know this code. It looks plausible. It presumably fixes issue 4962; ...
12 years, 3 months ago (2013-03-02 01:18:17 UTC) #2
gri
It does fix issue 4962. The culprit was this missing check: case *ast.IndexExpr: check.expr(x, e.X, ...
12 years, 3 months ago (2013-03-02 01:30:18 UTC) #3
gri
12 years, 3 months ago (2013-03-02 01:39:52 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=17a869d2ae24 ***

go/types: fixed a few failure checks

More robustness in case of incorrect programs.

Fixes issue 4962.

R=dsymonds
CC=golang-dev
https://codereview.appspot.com/7429047
Sign in to reply to this message.

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